Explain what is the benefit of using enum to declare a constant?
No Answer is Posted For this Question
Be the First to Post Answer
marge linklist
How can you determine the maximum value that a numeric variable can hold?
What is the output of printf("%d", printf("Hello"));?
Tell us two differences between new () and malloc ()?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
When should you not use a type cast?
Where static variables are stored in memory in c?
what is difference between array,strutter,union and pointers
3 Answers CTS, Lovely Professional University, Mannar Company,
Why cann't whole array can be passed to function as value.
What is sizeof array in c?
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); }
#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?