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
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
1.find the second maximum in an array? 2.how do you create hash table in c? 3.what is hash collision
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
What is static and auto variables in c?
How can I do graphics in c?
HOW TO SWAP TWO NOS IN ONE STEP?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
How to print "I Love My India" without using semi colon?
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .
4 Answers State Bank Of India SBI,
What are the uses of pre-processor directives?
Define Spanning-Tree Protocol (STP)