enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answer Posted / paresh
0,1,2
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Explain what are bus errors, memory faults, and core dumps?
write a proram to reverse the string using switch case?
What are the types of i/o functions?
Stimulate calculator using Switch-case-default statement for two numbers
Explain a file operation in C with an example.
Explain union.
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is the difference between malloc() and calloc() function in c language?
Which function in C can be used to append a string to another string?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Explain what is the best way to comment out a section of code that contains comments?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
how we can make 3d venturing graphics on outer interface
Explain what does a function declared as pascal do differently?