enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
0..1..2
Explanation:
enum assigns numbers starting from 0, if not
explicitly defined.
| Is This Answer Correct ? | 5 Yes | 0 No |
main() { clrscr(); } clrscr();
How to swap two variables, without using third variable ?
104 Answers AB, ADP, BirlaSoft, Cisco, Cygnet Infotech, HCL, Hewitt, Honeywell, HP, IBM, Infosys, Manhattan, Microsoft, Mobius, Percept, Satyam, SofTMware, TCS, Wipro, Yamaha,
You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.
main() { int i=-1; -i; printf("i = %d, -i = %d \n",i,-i); }
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
program to find magic aquare using array
why the range of an unsigned integer is double almost than the signed integer.
plz tell me the solution.......... in c language program guess any one number from 1 to 50 and tell that number within 8 asking question in yes or no...............
main() { int i=5,j=10; i=i&=j&&10; printf("%d %d",i,j); }
main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
why nlogn is the lower limit of any sort algorithm?
int main() { int x=10; printf("x=%d, count of earlier print=%d", x,printf("x=%d, y=%d",x,--x)); getch(); } ================================================== returns error>> ld returned 1 exit status =================================================== Does it have something to do with printf() inside another printf().