typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a :
a) Union
b) User defined type
c) Enumerated variable
d) none
No Answer is Posted For this Question
Be the First to Post Answer
Which sorting algorithm is the best?
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
How can I find out the size of a file, prior to reading it in?
Explain setjmp()?
what are the general concepts of c and c++
write a c program to find largest of three numbers using simple if only for one time.
what is the difference between structure and union?
How can a program be made to print the line number where an error occurs?
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
how to find greatet of 10 numbers without using array?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
what will be the out put. #include<stdio.h> void main() { printf("Output:"); printf(1+"vikashpatel"); }//output: ikashpatel