Output of C programs | Set 64 (Pointers)
Prerequisite : Pointers in C Question 1 : What will be the output of following program? filter_none edit close play_arrow link brightness_4 code #include “stdio.h”… Read More »
Prerequisite : Pointers in C Question 1 : What will be the output of following program? filter_none edit close play_arrow link brightness_4 code #include “stdio.h”… Read More »
What is the output for the following code snippet? filter_none edit close play_arrow link brightness_4 code #include<stdio.h> #define A -B #define B -C #define C… Read More »
Output of following program under the assumption that numbers are stored in 2’s complement form. filter_none edit close play_arrow link brightness_4 code #include<stdio.h> int main()… Read More »
C is a high level language and it needs a compiler to convert it into an executable code so that the program can be run… Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” int main() { union {int i1; int… Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” int main() { struct {int i; char… Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” int main() { struct {int a[2], b;}… Read More »
Pick the best statement for the below program snippet: filter_none edit close play_arrow link brightness_4 code struct {int a[2];} arr[] = {1,2}; chevron_right filter_none (A)… Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” int main() { struct {int a[2];} arr[]… Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” int size = 4; int arr[size]; … Read More »
Pick the best statement for the below program: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” void fun(int n) { int idx; int… Read More »
Pick the best statement for the below: filter_none edit close play_arrow link brightness_4 code int arr[50] = {0,1,2,[47]=47,48,49}; chevron_right filter_none (A) This isn’t allowed in… Read More »
Pick the best statement for the following program snippet: filter_none edit close play_arrow link brightness_4 code #include “stdio.h” void foo(void) { static int staticVar; staticVar++;… Read More »
Pick the best statement for the following program snippet: filter_none edit close play_arrow link brightness_4 code #include <stdio.h> int main() { int var; /*Suppose… Read More »
In C, 1D array of int can be defined as follows and both are correct. filter_none edit close play_arrow link brightness_4 code int array1D[4] =… Read More »