Which file header is to be included for file handling in a C program?
Correct Answer: stdio.h
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Which declarations of structures is/are valid? 1) struct node { int count; char *word; struct node next; }Node; 2) struct node { int count; char *word; struct node *next; }Node; 3) struct node { int count; char *word; union u1 { int n1; float f1; }U; }Node;
Following code snippet? int b = 5; main() { void addup (int b); int i; for(i=1; i<=5; i++) addup(1); return 0; } void addup (int b) { static int v1; v1 = v1+b; printf('%d ', v1); }
In order to read structures/records from a file, which function will you use?
Following statement where str is a character array and the statement is supposed to traverse through the whole character string str? for(i=0;str[i];i++)
Output of the following program? #include main() { int n = 5; assert(n > 3); //statement 1 n = n+2; assert(n > 7);//statement 2 return 0; }
Which is not a logical operator?
What does argc and argv indicate in command-line arguments? (Assuming: int main(int argc, char *argv[]) )
The keyword ‘break’ cannot be simply used within __?
How will you free the allocated memory?
How will you print \n on the screen?