Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmmm nnnn aaaa Compiler Error mmm nnn aaa None of These TRUE ANSWER : ? YOUR ANSWER : ?
Any C program Needs input data. None of these Must contain at least one function. Need not contain any function. TRUE ANSWER : ? YOUR ANSWER : ?
If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 0 1 3 2 TRUE ANSWER : ? YOUR ANSWER : ?
Array passed as an argument to a function is interpreted as Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 8 5 5 2 4 4 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 11 9 None of These TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 0 Syntax error Infinite loop 10 TRUE ANSWER : ? YOUR ANSWER : ?
Choose the correct output for the following program.#include<stdio.h>void main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 50 13, 10, 24, 50 50, 13, 24, 13 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ printf("%p", main);} Some address will be printed Error None of These make an infinite loop TRUE ANSWER : ? YOUR ANSWER : ?
In C programming language, which of the following type of operators have the highest precedence Arithmetic operators Relational operators Equality operators Logical operators TRUE ANSWER : ? YOUR ANSWER : ?