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 would be the output of the follwing

struct st
{
char name[20];
int i;
float f;

};
main()
{
struct st emp = {"forum"};
printf("%d %f",emp.i,emp.f);

}

Answer Posted / karthik

0, 0.00

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1224


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

1423


How do you generate random numbers in C?

1207


What is the heap?

1226


What are the types of type qualifiers in c?

1094


What is the basic structure of c?

1097


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1731


What is the scope of an external variable in c?

1061


What is difference between array and pointer in c?

1105


Why is c used in embedded systems?

1132


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1480


What is the difference between the local variable and global variable in c?

974


What is this infamous null pointer, anyway?

1070


What are the restrictions of a modulus operator?

1133


Explain how can I manipulate strings of multibyte characters?

1216