main()
{
enum{red,green,blue=6,white};
pf("%d%d%d%d", red,green,blue,white);
return 0;
}
a)0 1 6 2
b)0 1 6 7
c)Compilation error
d)None of the above
Answer Posted / rajesh
Answer : b
check it in www.codepad.org
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What should malloc(0) do?
What are header files and explain what are its uses in c programming?
what will be maximum number of comparisons when number of elements are given?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What is sizeof c?
What is the purpose of type declarations?
What is the default value of local and global variables in c?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is c system32 taskhostw exe?
Explain what’s a signal? Explain what do I use signals for?
Why c is procedure oriented?
Write a program to swap two numbers without using third variable in c?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Explain the difference between call by value and call by reference in c language?