main()
{
enum{red,green,blue=6,white};
pf("%d%d%d%d", red,green,blue,white);
return 0;
}

a)0 1 6 2
b)0 1 6 7
c)Compilation error
d)None of the above

Answer Posted / saiteja

0167

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by operator precedence?

680


What is the scope of static variable in c?

539


What is data structure in c language?

614


How do you determine whether to use a stream function or a low-level function?

658


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1206






Are the outer parentheses in return statements really optional?

581


Explain how do you list a file’s date and time?

621


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

651


4. main() { int c=- -2; printf("c=%d",c); }

1373


What language is c written?

580


Do pointers take up memory?

666


Why is it important to memset a variable, immediately after allocating memory to it ?

1557


What is the difference between arrays and pointers?

638


What is structure and union in c?

605


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

1586