#define f(x)
main()
{
printf("\n%d",f(2+2));
}

Answer Posted / civa

Compiler Error "error: syntax error before ')' token"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the explanation for prototype function in c?

560


Explain logical errors? Compare with syntax errors.

618


What are directives in c?

537


What is the description for syntax errors?

606


What happens if you free a pointer twice?

596






What is getch c?

844


Differentiate Source Codes from Object Codes

807


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1856


Explain the term printf() and scanf() used in c language?

586


Is there a way to jump out of a function or functions?

627


What is void main () in c?

722


What is variable in c example?

586


What is the difference between variable declaration and variable definition in c?

555


What is the purpose of type declarations?

673


Describe wild pointers in c?

631