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
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Why do we use null pointer?
Why c is a procedural language?
How do we make a global variable accessible across files? Explain the extern keyword?
Explain what is the difference between a string and an array?
What is ## preprocessor operator in c?
Why do some versions of toupper act strangely if given an upper-case letter?
What is a good data structure to use for storing lines of text?
What is a far pointer in c?
What happens if you free a pointer twice?
What is call by value in c?
please explain every phase in the "SDLC" in the dotnet.
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Why we not create function inside function.
Can a pointer point to null?