‎#define good bad
main()
{
int good=1;
int bad=0;
printf ("good is:%d",good);
}
Answers were Sorted based on User's Feedback
Answer / suresh kumar beniwal
multiple declaration of bad
so error occur
write program is
#define good bad
main()
{
int good=1;
bad=0;
printf ("good is:%d",good);
}
output :
good is : 0
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / elango
ans:0
Explain:
#define good bad
is denoted by good = bad,
printf("good is:%d",good);
ans"0
Is This Answer Correct ? | 1 Yes | 0 No |
how to return a multiple value from a function?
Link list in reverse order.
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }
plz send me all data structure related programs
void main() { int x,y=2,z; z=(z*=2)+(x=y=z); printf("%d",z); }
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() { show(); } void show() { printf("I'm the greatest"); }
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates.
19 Answers Amazon, BITS, Microsoft, Syncfusion, Synergy, Vector,
void ( * abc( int, void ( *def) () ) ) ();
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
create a login program that ask username and password. if you input username or password 3 times wrong, the program will terminate else the program will prompt a message "congratulations"
main() { extern int i; i=20; printf("%d",sizeof(i)); }