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.
3433Write 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.
3585What 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
1885
What is extern variable in c with example?
What is string length in c?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
How is actual parameter different from the formal parameter?
Explain the meaning of keyword 'extern' in a function declaration.
What are the disadvantages of a shell structure?
What is external variable in c?
Why do we use static in c?
explain what is a newline escape sequence?
How arrays can be passed to a user defined function
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
What is output redirection?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Differentiate between ordinary variable and pointer in c.
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?