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
Answer Posted / vaibhav
c)the compiler will generate an error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between calloc and malloc.
Is it better to bitshift a value than to multiply by 2?
Define recursion in c.
What is the advantage of c?
What are register variables? What are the advantage of using register variables?
What are all different types of pointers in c?
What are valid operations on pointers?
What is the difference between malloc() and calloc() function in c language?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What do the functions atoi(), itoa() and gcvt() do?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Explain high-order and low-order bytes.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What are variables and it what way is it different from constants?