What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf("%d",x);
}



What will be the output of following program #include main() { int x,y = 10; x = y * NULL; pri..

Answer / 1160

[Error] invalid operands to binary * (have 'int' and 'void *')

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How would you use the functions fseek(), freed(), fwrite() and ftell()?

0 Answers   Aspire, Infogain, TISL,


what is the diff b/w static and non static variables in C. Give some examples plz.

3 Answers   Wipro,


wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,


What are the different types of linkage exist in c?

0 Answers  


Why do we use stdio h and conio h?

0 Answers  






What are the different types of errors?

0 Answers  


What is a pointer on a pointer in c programming language?

0 Answers  


Find the largest number from the given 2 numbers without using any loops and the conditional operator.

2 Answers  


Output for following program using for loop only * * * * * * * * * * * * * * *

3 Answers  


n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }

7 Answers   Wipro,


Program to display given 3 integers in ascending order

1 Answers   N Tech,


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

0 Answers   Ignou,


Categories