#define d 10+10
main()
{
printf("%d",d*d);
}

Answer Posted / raj

ans.

d*d will be replaced by 10+10*10+10

during runtime.

so answer is 10+100+10 = 120

Is This Answer Correct ?    88 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If null and 0 are equivalent as null pointer constants, which should I use?

573


Why isnt any of this standardized in c?

629


What will be the outcome of the following conditional statement if the value of variable s is 10?

755


What's the best way of making my program efficient?

620


Why is c called "mother" language?

852






c program to compute AREA under integral

1804


Distinguish between actual and formal arguments.

587


What is scope and lifetime of a variable in c?

570


C program to find all possible outcomes of a dice?

1849


what is the difference between class and unio?

1854


find the sum of two matrices and WAP for it.

626


How main function is called in c?

622


How can you increase the size of a dynamically allocated array?

637


What do you mean by Recursion Function?

626


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

713