Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


can u give me the good and very optimised code for a car racing game?

0 Answers  


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


What are the advantages and disadvantages of c language?

0 Answers  


What is the size of enum in bytes?

0 Answers  


What's the best way of making my program efficient?

0 Answers   Celstream,


What is wrong with this code?

0 Answers  


What is the meaning of typedef struct in c?

0 Answers  


Where static variables are stored in memory in c?

0 Answers  


How do we open a binary file in Read/Write mode in C?

0 Answers   Alter,


How to write a code for reverse of string without using string functions?

0 Answers   TCS,


write function to reverse char array ... without using second array

3 Answers  


Categories