76 255
Assignments Done
Successfully Done
In May 2019

Answer to Question #19961 in C++ for faris abdelhafiz

Question #19961
Write a complete C program for the following :-
1. Write a structure with the following fields :-

· Name < array of characters>
· Id number < integer>
· Marks <integer>
· Status < array of characters >
Expert's answer
#include <stdio.h>
#include <string.h>

struct Structure
char name[32];
int id;
int mark;
char status[16];

struct Structure s;
s.id = 1;
s.mark = 4;
strcpy(s.name, "Paul");
strcpy(s.status, "Unknown");

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions