b) 4 c) 6 d) 7
32. Any C program
a) must contain at least one function b) need not contain
ant function
c) needs input data d) none of the above
33. Using goto inside for loop is equivalent to using
a) continue b) break c) return d)none of the above
34. The program fragment
int a=5, b=2;
printf(“%d”,a+++++b);
a) prints 7 b)prints 8 c) prints 9 d)none of the above
35. printf(“ab” , “cd”,”ef”); prints
a) ab abcdef c) abcdef, followed by garbage value d) none of
the above
36. Consider the following program segment.
i=6720; j=4;
while((i%j)==0)
{
i=i/j;
j=j+1;
}
On termination j will have the value
a) 4 b) 8 c) 9 d) 6720
Answer / priyanka
any c program must contain atleast one fuction which is called main()
| Is This Answer Correct ? | 19 Yes | 3 No |
How can this be legal c?
What are different storage class specifiers in c?
what does keyword ‘extern’ mean in a function declaration?
Why we use void main in c?
If the size of int data type is two bytes, what is the range of signed int data type?
CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.
What is undefined behavior?
Can we declare function inside main?
who did come first hen or agg
What is property type c?
What is the usage of the pointer in c?
How is a macro different from a function?