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 |
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); }
What does the error message "DGROUP exceeds 64K" mean?
What is variable in c with example?
What are the disadvantages of a shell structure?
what is difference b/w extern & volatile variable??
What is the function of multilevel pointer in c?
what is the code for getting the output as * ** ***
7. Identify the correct argument for the function call fflush() in ANSI C: A)stdout B)stdin C)stderr D)All the above
What is extern variable in c with example?
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.
Write a program to find the smallest and largest element in a given array in c language