Answer to Question #44889 in C for erico fire

Question #44889
write a c program that displays your name ,postal address,the name of university and the roll number?
1
Expert's answer
2014-08-13T11:15:10-0400
#include <stdio.h>
#include <string.h>
main()
{
char name[] = "Bob Cool";
char postadress[] = "22, Paix street, Paris, 75000, France";
char univname[] = "Paritech";
char rollnum[] = "1904-031-200-01100-0000";

printf("Name: ");
printf("%s", name);
printf("\nPostal adress: ");
printf("%s", postadress);
printf("\nUniversity: ");
printf("%s", univname);
printf("\nRoll number: ");
printf("%s", rollnum);
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS