‎#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 |
main() { int *j; { int i=10; j=&i; } printf("%d",*j); }
Printf can be implemented by using __________ list.
Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
Develop a routine to reflect an object about an arbitrarily selected plane
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.
write a c program to Create a mail account by taking the username, password, confirm password, secret_question, secret_answer and phone number. Allow users to register, login and reset password(based on secret question). Display the user accounts and their details .
void main() { static int i=i++, j=j++, k=k++; printf(“i = %d j = %d k = %d”, i, j, k); }
main() { main(); }
main() { int i = 0xff ; printf("\n%d", i<<2); } a. 4 b. 512 c. 1020 d. 1024
print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!
35 Answers Tata Elxsi, TCS, VI eTrans,
What are the files which are automatically opened when a C file is executed?