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 this program?

#include<stdio.h>
#define cube(x) x*x*x

void main()
{
int i,j=5;
i=cube(j+3);
printf("i=%d",i);
}

Answer Posted / vijay r15

ans 38
it will pass as (5+3)

So the operation will be as
5+3*5+3*5+3
Hence
5+15+15+3=38

Got it


With thanks and regards,
Vijay r15
raj.vijay55@gmail.com

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function that will take in a phone number and output all possible alphabetical combinations

1017


What is pragma c?

1086


What are the types of data files?

1179


What is the explanation for the dangling pointer in c?

1087


What is the argument of a function in c?

1025


What is the meaning of typedef struct in c?

1033


Why do we use header files in c?

1044


What is c++ used for today?

1086


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1041


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2269


What are identifiers c?

1040


why we wont use '&' sing in aceesing the string using scanf

2344


c program for searching a student details among 10 student details

2070


When is a “switch” statement preferable over an “if” statement?

1117


explain what are actual arguments?

1057