Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 100 1 Error TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error garbage values 0 0 0 1 1 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be output if you will compile and execute the following c code?#include<stdio.h>#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} Compiler Error 6 5 0 7 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello Linking error Compiler Error None of these TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?#include<stdio.h>void main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 0.000000 10 None of these. TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program ?#include<stdio.h>void main(){ printf(5+"Good Morningn");} Good None of these Morning M Good Morning TRUE ANSWER : ? YOUR ANSWER : ?
Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} haasi hai asiha absiha TRUE ANSWER : ? YOUR ANSWER : ?
What is the maximum number of dimensions an array in C may have? 20 2 Theoratically no limit. The only practical limits are memory size and compilers. 50 8 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65480, 65488 65474, 65476 65474, 65488 65480, 65496 TRUE ANSWER : ? YOUR ANSWER : ?
In C programming language, which of the following type of operators have the highest precedence Logical operators Relational operators Arithmetic operators Equality operators TRUE ANSWER : ? YOUR ANSWER : ?