enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answer Posted / vignesh1988i
the ascii values of B,B,G will be printed..............
since these black,blue and green are strings given directly
in the printf statements..... so the base address will be
going to the function definition of printf......
| Is This Answer Correct ? | 0 Yes | 13 No |
Post New Answer View All Answers
Explain what header files do I need in order to define the standard library functions I use?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
What does a pointer variable always consist of?
What is a class c rental property?
What is the purpose of sprintf() function?
How can type-insensitive macros be created?
Explain how do you determine a file’s attributes?
What are pointers? Why are they used?
Is anything faster than c?
What are preprocessor directives 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); }
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Explain the binary height balanced tree?
What is the difference between class and object in c?
What is header file definition?