Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 5 None of These 7 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following function is used to find the first occurrence of a given string in another string? None of these strchr() strrchr() strstr() strnset() TRUE ANSWER : ? YOUR ANSWER : ?
What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 1 Compilation Error 0 -1 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following operator takes only integer operands? / * + None of these % TRUE ANSWER : ? YOUR ANSWER : ?
The declarationint (*p) [5];means p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 065 65 Syntax error 53 65 65 65 053 65 TRUE ANSWER : ? YOUR ANSWER : ?
Any C program Must contain at least one function. None of these Need not contain any function. Needs input data. TRUE ANSWER : ? YOUR ANSWER : ?
What is function? All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following is not a correct variable type? real int double float char TRUE ANSWER : ? YOUR ANSWER : ?
C was primarily developed as None of these Data processing language General purpose language System programming language TRUE ANSWER : ? YOUR ANSWER : ?