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

what is the difference between auto and static keywords

1 Answers   cDot, College School Exams Tests, TCS,


main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 Answers  


What does the error message "DGROUP exceeds 64K" mean?

0 Answers   Celstream,


What is variable in c with example?

1 Answers  


What are the disadvantages of a shell structure?

0 Answers  






what is difference b/w extern & volatile variable??

6 Answers   Teleca,


What is the function of multilevel pointer in c?

0 Answers  


what is the code for getting the output as * ** ***

5 Answers   Caritor,


7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above

10 Answers   Accenture,


What is extern variable in c with example?

0 Answers  


What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

11 Answers   TCS,


Write a program to find the smallest and largest element in a given array in c language

11 Answers   Microsoft, Vembu,


Categories