Size of the array need not be specified, when It is a declaratrion All of these It is a formal parameter Initialization is a part of definition TRUE ANSWER : ? YOUR ANSWER : ?
Which one of the following is not a valid identifier? exam_veda examians1 1examians _examians TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.#include<stdio.h>void main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 11 13 Compilation error 14 12 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 13 12 None of These TRUE ANSWER : ? YOUR ANSWER : ?
Comment on the following?const int *ptr; Both of the above We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. We can change the pointer as well as the value pointed by it. TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program?#include<stdio.h>#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} sizeof(i)=2 sizeof(i)=1 Compiler Error None of These TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam Veda None of these Exam Exam\0Veda TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:void main(){ int i=10; i = !i>14; printf("i=%d", i); } 10 14 None of these 0 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H None of these. Some address will be printed Hello TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the given program?#include<stdio.h>void main(){int a=11,b=5;if(a=5) b++;printf("%d %d", ++a, b++);} 11 6 6 7 12 7 5 6 6 6 TRUE ANSWER : ? YOUR ANSWER : ?