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.
3401Write 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.
3516What 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 2798The 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
1847
Define Array of pointers.
Explain enumerated types in c language?
What are the data types present in c?
How can I open a file so that other programs can update it at the same time?
Write a program to swap two numbers without using third variable in c?
What standard functions are available to manipulate strings?
What are the features of the c language?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Which of these functions is safer to use : fgets(), gets()? Why?
How many loops are there in c?
Is c++ based on c?
What is the difference between c &c++?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Do you know the use of 'auto' keyword?