10. Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning
Answers were Sorted based on User's Feedback
Answer / manju
The answer is c.
the compiler will generate an error.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / hanumant
A) it will compile & nothing will be printed when it is
executed.
| Is This Answer Correct ? | 5 Yes | 4 No |
what is event driven software and what is procedural driven software?
who is the editor of 'pokemon'?
What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?
Write a function in c to find the area of a triangle whose length of three sides is given.
#include<conio.h> #include<stdio.h> void main() { int i; if(1,0,2,3) { printf("if"); } else { printf("else"); } getch(); } Can any body tell the answer of this question with explanation?
for example user gives input as " 20 or 20.0 or rs 20.0 or 20.00 or rs20 and so .. on " and the output should be stored as " rs.20.00 " in a variable
Write a program that receives as input a number omaadel-n-print, four digits.
int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }
1 What is a Data Structure?
What is the argument of a function in c?
main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }
5 Answers Amazon, HCL, Thought Works,
Explain about block scope in c?