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...

write a c program to store and print name,address,roll.no of
a student using structures?

Answer Posted / laxmi bose

#include<stdio.h>
#include<string.h>
#include<conio.h>
struct laxmi
{
int rollname;
char name;
char address;
}struct laxmi l;
void main()
{
scanf("%d%c%c",&rollname,name,address);
printf("%d%c%c",roolname,name,address);
}

Is This Answer Correct ?    54 Yes 88 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1936


Why do we use null pointer?

1008


Why c is a procedural language?

1016


How do we make a global variable accessible across files? Explain the extern keyword?

1837


Explain what is the difference between a string and an array?

1113


What is ## preprocessor operator in c?

1033


Why do some versions of toupper act strangely if given an upper-case letter?

1044


What is a good data structure to use for storing lines of text?

1043


What is a far pointer in c?

996


What happens if you free a pointer twice?

1033


What is call by value in c?

963


please explain every phase in the "SDLC" in the dotnet.

2567


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1111


Why we not create function inside function.

2149


Can a pointer point to null?

1033