The recursive functions are executed in a ........... Iterative order Parallel order Random order First In First Out order Last In First Out order TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 0 0 0 1 1 1 TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45445 54544 54554 45545 TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following function calculates the square of 'x' in C? pow(2, x) sqr(x) power(2, x) power(x, 2) pow(x, 2) TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error None of These GOOD BAD GOOD TRUE ANSWER : ? YOUR ANSWER : ?
What is the output of the following program?#include<stdio.h>int c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 25 24 20 None of these 30 TRUE ANSWER : ? YOUR ANSWER : ?
Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III I and II I, II and III III and IV I, III and IV TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following is not a valid identifier? exam_veda examians1 _examians 1examians 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 : ?
Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 2, 4 2, 0 2, 2 0, 2 4, 4 TRUE ANSWER : ? YOUR ANSWER : ?