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.
3436Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
3589What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }
1 2851The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters
1890
What are pointers? What are different types of pointers?
Whats s or c mean?
write a program for the normal snake games find in most of the mobiles.
How can I pad a string to a known length?
Write a program to know whether the input number is an armstrong number.
Explain about the constants which help in debugging?
Write a program to reverse a string.
Can a variable be both static and volatile in c?
How can you increase the allowable number of simultaneously open files?
What are data structures in c and how to use them?
What type is sizeof?
How does selection sort work in c?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
How to implement a packet in C
Why c is known as a mother language?