What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf("%d",x);
}
Answer Posted / 1160
[Error] invalid operands to binary * (have 'int' and 'void *')
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is function prototype in c with example?
What is the difference between array and linked list in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is the best way to comment out a section of code that contains comments?
Why is sizeof () an operator and not a function?
What are the complete rules for header file searching?
Can we compile a program without main() function?
What is a macro, and explain how do you use it?
What is a substring in c?
Explain what’s a signal? Explain what do I use signals for?
What is the value of h?
Is null always defined as 0(zero)?
Explain what is the difference between null and nul?
What are categories used for in c?