#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

What is header file in c?

609


Why doesnt this code work?

623


Is it better to use a macro or a function?

659


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14978


What is n in c?

585






In C language what is a 'dangling pointer'?

646


Why is c so important?

604


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

623


Define C in your own Language.

646


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

639


Explain spaghetti programming?

689


What oops means?

590


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3343


Which are low level languages?

644


How can I manipulate strings of multibyte characters?

643