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



b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant..

Answer / priyanka

any c program must contain atleast one fuction which is called main()

Is This Answer Correct ?    19 Yes 3 No

Post New Answer

More C Interview Questions

If you know then define #pragma?

0 Answers  


1 1 12 21 123 321 12344231 how i creat it with for loop??

1 Answers  


what information does the header files contain?

6 Answers   BSNL, Cisco, GDA Technologies,


what is dangling pointer?

1 Answers   LG Soft,


What does sizeof function do?

0 Answers  






What is header file in c?

0 Answers  


Does c have circular shift operators?

0 Answers  


What are the types of i/o functions?

0 Answers  


char ch="{'H','I',0};printf("%s",ch);what is output

9 Answers   Accenture,


Write a c program to build a heap method using Pointer to function and pointer to structure ?

0 Answers   Wipro,


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,


how c source file in converted to exe file

5 Answers   KPIT,


Categories