Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
No Answer is Posted For this Question
Be the First to Post Answer
Write a C program that reads a series of strings and prints only those ending in "ed"
What are the differences between Structures and Arrays?
What is selection sort in c?
What is the explanation for modular programming?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
write a program to sort the elements in a given array in c language
where are auto variables stored? What are the characteristics of an auto variable?
What is function pointer c?
How can I write a function analogous to scanf?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is %g in c?
Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV