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


Please Help Members By Posting Answers For Below Questions

What are categories used for in c?

560


What is a constant and types of constants in c?

598


What are two dimensional arrays alternatively called as?

653


How are Structure passing and returning implemented by the complier?

708


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

631






Explain what are its uses in c programming?

590


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1123


How can I discover how many arguments a function was actually called with?

628


Write a program of advanced Fibonacci series.

704


When should a far pointer be used?

600


What is the explanation for prototype function in c?

564


What is memory leak in c?

629


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

608


What is sizeof c?

604


Explain goto?

709