Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions and answers in Programming
130
votes
4
answers
1
GATE CSE 2014 Set 2 | Question: 11
Suppose $n$ and $p$ are unsigned int variables in a C program. We wish to set $p$ to $^nC_3$. If $n$ is large, which one of the following statements is most likely to set $p$ correctly? $p = n * (n-1) * (n-2) / 6;$ $p = n * (n-1) / 2 * (n-2) / 3;$ $p = n * (n-1) / 3 * (n-2) / 2;$ $p = n * (n-1) * (n-2) / 6.0;$
Suppose $n$ and $p$ are unsigned int variables in a C program. We wish to set $p$ to $^nC_3$. If $n$ is large, which one of the following statements is most likely to set...
ayan2000
15.4k
views
ayan2000
answered
20 hours
ago
Programming in C
gatecse-2014-set2
programming
programming-in-c
normal
+
–
6
votes
4
answers
2
GO Classes Weekly Quiz 2 | Programming in C | Propositional Logic | Question: 2
What will be output printed by the following program? #include<stdio.h> main() { int c=4; switch(c) { c=c-1; case 4: printf("IITB "); break; default: printf("IISc "); case 3: printf("IITM " ... ;); } } $\text{IITB IITM}$ $\text{IITB IISc IITM}$ $\text{IITB}$ $\text{IITB IITM IITD}$
What will be output printed by the following program?#include<stdio.h main() { int c=4; switch(c) { c=c-1; case 4: printf("IITB ")...
geetaseshapallli
977
views
geetaseshapallli
answered
2 days
ago
Programming in C
goclasses_wq2
goclasses
programming
programming-in-c
output
1-mark
+
–
1
votes
3
answers
3
UPPCL AE 2018:34
What is the output of the following $\text{C}$ program? #include<stdio.h> int main(void){ char s1[] = “Hello”; char s2[] = “World!”; s1 = s2; printf(“%s”,s1); } “World!” “HelloWorld!” “Compilation error” “Hello”
What is the output of the following $\text{C}$ program?#include<stdio.h int main(void){ char s1[] = “Hello”; char s2[] = “World!”; s1 = s2; printf(“%s”,s1); }...
geetaseshapallli
383
views
geetaseshapallli
answered
2 days
ago
Programming in C
uppcl2018
programming
programming-in-c
output
+
–
18
votes
4
answers
4
GATE CSE 2023 | Question: 25
The integer value printed by the $\textsf{ANSI-C}$ program given below is _______________ #include<stdio.h> int funcp(){ static int x = 1; x++; return x; } int main(){ int x,y; x = funcp(); y = funcp()+x; printf("%d\n", (x+y)); return 0; }
The integer value printed by the $\textsf{ANSI-C}$ program given below is _______________#include<stdio.h int funcp(){ static int x = 1; x++; return x; } int main(){ int ...
ritiksri8
10.6k
views
ritiksri8
answered
3 days
ago
Programming in C
gatecse-2023
programming
programming-in-c
output
numerical-answers
1-mark
+
–
0
votes
1
answer
5
GATE CSE 1988 | Question: 8iii
Write a LISP function to compute the product of all the numbers in a list. Assume that the list contains only number.
Write a LISP function to compute the product of all the numbers in a list. Assume that the list contains only number.
cprdereddyy
464
views
cprdereddyy
answered
3 days
ago
Programming in C
gate1988
descriptive
programming
lisp
out-of-gate-syllabus
+
–
1
votes
0
answers
6
GATE CSE SET-1 2024
My question is that can we use command line arguments without use of main function's parameters argc and *argv?
My question is that can we use command line arguments without use of main function's parameters argc and *argv?
RahulVerma3
77
views
RahulVerma3
asked
6 days
ago
Programming in C
programming-in-c
programming
+
–
38
votes
11
answers
7
GATE CSE 2021 Set 2 | Question: 10
Consider the following $\text{ANSI C}$ program. #include <stdio.h> int main() { int arr[4][5]; int i, j; for (i=0; i<4; i++) { for (j=0; j<5; j++) { arr[i][j] = 10 * i + j; } } printf(“%d”, *(arr[1]+9)); return 0; } What is the output of the above program? $14$ $20$ $24$ $30$
Consider the following $\text{ANSI C}$ program.#include <stdio.h int main() { int arr[4][5]; int i, j; for (i=0; i<4; i++) { for (j=0; j<5; j++) { arr[i...
Subham640
29.9k
views
Subham640
answered
Mar 18
Programming in C
gatecse-2021-set2
programming-in-c
array
output
1-mark
+
–
47
votes
8
answers
8
GATE CSE 2015 Set 3 | Question: 7
Consider the following C program segment. # include <stdio.h> int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); } What will be printed by the program? $12$ $120400$ $1204$ $1034$
Consider the following C program segment.# include <stdio.h int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); }What will be printed by the pro...
Subham640
15.9k
views
Subham640
answered
Mar 17
Programming in C
gatecse-2015-set3
programming
programming-in-c
normal
array
+
–
0
votes
0
answers
9
GATE 2024 CSE1
I have a question that can we use command line arguments without main function arguments? int main(int argc, char **argv){ }
I have a question that can we use command line arguments without main function arguments?int main(int argc, char argv){}
RahulVerma3
104
views
RahulVerma3
asked
Mar 16
Programming in C
gatecse2024-set1
programming-in-c
+
–
0
votes
1
answer
10
Gate 2017 Set 1 minimum Comparisons
Consider an array A of size 31 consisting of 0's followed by number of 1's. In order to find the smallest index i such that A[i]=1 minimum number of comparisons required in worst case by optimal algorithm?
Consider an array A of size 31 consisting of 0's followed by number of 1's. In order to find the smallest index i such that A[i]=1 minimum number of comparisons required ...
teja1521
204
views
teja1521
answered
Mar 11
Programming in C
numerical-answers
algorithms
+
–
2
votes
2
answers
11
let x be an array of integer which of the following can not be present in the LHS of an assignment statement
let x be an array of integer . which of the following can not be present in the left hand side of an assignment statementa)x b) x+i c) * (x+i) d) &x[i]
teja1521
2.6k
views
teja1521
answered
Mar 11
1
votes
1
answer
12
Array
Does C support fractional Indices? float x = some fraction; Is float a[x] valid declaration?
Does C support fractional Indices?float x = some fraction;Is float a[x] valid declaration?
teja1521
132
views
teja1521
answered
Mar 8
Programming in C
array
programming-in-c
+
–
2
votes
3
answers
13
Made Easy Mock -1
how does the program is working..? answer – 8
how does the program is working..?answer – 8
teja1521
393
views
teja1521
answered
Mar 8
Programming in C
programming
numerical-answers
made-easy-test-series
+
–
6
votes
3
answers
14
GO Classes Test Series 2024 | Programming | Test 2 | Question: 21
What will be the output of the following program? #include<stdio.h> int rec(int x, int y) { static int count = 0; if (x == 0) return count; count++; if (x > y) rec(x - y, y); else rec(x, y - x); return count; } main() { int i = 10, j = 2, n; n = rec(i, j); printf("%d", n); } $4$ $5$ $6$ Infinite loop
What will be the output of the following program?#include<stdio.h int rec(int x, int y) { static int count = 0; if (x == 0) return count; count++; if (x y) rec(x - y, y)...
teja1521
381
views
teja1521
answered
Mar 8
Programming in C
goclasses2024-programming-2-weekly-quiz
goclasses
programming
programming-in-c
recursion
output
2-marks
+
–
1
votes
3
answers
15
GATE CSE 2024 | Set 1 | Question: 9
Consider the following $\mathrm{C}$ program: #include <stdio.h> void fX () { void fX () ; char a; int main() { if ((a=g e t c h a r()) ! = '\n') fX}() ; fX(); return 0 ; if (a ! ... program will not terminate The program will terminate with no output The program will terminate with $4321$ as output The program will terminate with $1234$ as output
Consider the following $\mathrm{C}$ program:#include <stdio.h void fX () {void fX () ; char a;int main() { if ((a=g e t c h a r()) ! = '\n')fX}() ; fX();return 0 ; if ...
shah___
2.7k
views
shah___
answered
Mar 6
Programming in C
gatecse2024-set1
programming
programming-in-c
+
–
0
votes
1
answer
16
s.balaguruswami
Find the error of the following IP addresses. If the IP is valid, check its Class and determine whether the address is Unicast or Multicast. i) 237.15.2.1 ii) 256.1.8.9 iii) 114.34.2.8 iv) 255.254.0.1 v) 8.8.8.8
Find the error of the following IP addresses. If the IP is valid, check its Class and determine whether the address is Unicast or Multicast.i) 237.15.2.1ii) 256.1.8.9iii)...
sanjeet24
82
views
sanjeet24
answered
Mar 5
2
votes
2
answers
17
find the output
include <stdio.h> int main() { int a[][3] = {1, 2, 3, 4, 5, 6}; int (*ptr)[3] = a; printf("%d %d ", (*ptr)[1], (*ptr)[2]); ++ptr; printf("%d %d\n", (*ptr)[1], (*ptr)[2]); return 0; } (a) 2 3 5 6 (b) 2 3 4 5 (c) 4 5 0 0 (d) none of the above
include <stdio.h int main() { int a[][3] = {1, 2, 3, 4, 5, 6}; int (*ptr)[3] = a; printf("%d %d ", (*ptr) , (*ptr) ); ++ptr; printf("%d %d\n", (*ptr) , (*ptr) ); return 0...
ritiksri8
5.9k
views
ritiksri8
answered
Mar 4
Programming in C
programming-in-c
+
–
0
votes
0
answers
18
class question self doubt
#include<stdio.h> #include<conio.h> int main(){ int a[][3]={ {4,14,24},{5,15,25},{6,16,26}}; int *p[3]; int **ptr=p; p[0]=a; p[1]=a+1; p[2]=a+2; ++*p; ++p[0]; ++**ptr; ++*p[0]; ++ptr; ++*ptr; --*p[1]; --*ptr; ++ptr; --p[ ... ("\n%d,%d,%d",a[0][2],a[1][1],a[2][0]); printf("\n%d,%d,%d",*p[0],*p[1],*p[2]); } what is the output of above program
#include<stdio.h>#include<conio.h>int main(){ int a[][3]={ {4,14,24},{5,15,25},{6,16,26}}; int *p[3]; int ptr=p; p[0]=a; p =a+1; p =a+2; ++*p; ...
Emankashyap
123
views
Emankashyap
asked
Mar 1
0
votes
1
answer
19
c programming
#include <stdio.h> int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; } output is 255 , but please explain how
#include <stdio.h int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; }output is 255 , but please explain how
AniMan_7
205
views
AniMan_7
answered
Feb 29
Programming in C
programming-in-c
+
–
3
votes
2
answers
20
GATE CSE 2024 | Set 2 | Question: 3
Consider the following $\text{C}$ program. Assume parameters to a function are evaluated from right to left. #include <stdio.h> int g( int p) { printf("%d", p); return p; } int h(i nt q) { printf("%d", q) ... one of the following options is the CORRECT output of the above $\text{C}$ program? $20101020$ $10202010$ $20102010$ $10201020$
Consider the following $\text{C}$ program. Assume parameters to a function are evaluated from right to left.#include <stdio.h>int g( int p) { printf("%d", p); return p; }...
AniMan_7
3.3k
views
AniMan_7
answered
Feb 28
Programming in C
gatecse2024-set2
programming
programming-in-c
+
–
70
votes
13
answers
21
GATE CSE 2017 Set 2 | Question: 55
Consider the following C program. #include<stdio.h> #include<string.h> int main() { char* c="GATECSIT2017"; char* p=c; printf("%d", (int)strlen(c+2[p]-6[p]-1)); return 0; } The output of the program is _______
Consider the following C program.#include<stdio.h #include<string.h int main() { char* c="GATECSIT2017"; char* p=c; printf("%d", (int)strlen(c+2[p]-6[p]-1)); return 0; }T...
B Bhatta
27.5k
views
B Bhatta
answered
Feb 28
Programming in C
gatecse-2017-set2
programming-in-c
numerical-answers
array
pointers
+
–
59
votes
4
answers
22
GATE CSE 2014 Set 2 | Question: 40
Consider the following function. double f(double x){ if( abs(x*x - 3) < 0.01) return x; else return f(x/2 + 1.5/x); } Give a value $q$ (to $2$ decimals) such that $f(q)$ will return $q$:_____.
Consider the following function.double f(double x){ if( abs(x*x - 3) < 0.01) return x; else return f(x/2 + 1.5/x); }Give a value $q$ (to $2$ decimals) such that $f(q)$ wi...
B Bhatta
18.1k
views
B Bhatta
answered
Feb 26
Programming in C
gatecse-2014-set2
programming
recursion
numerical-answers
normal
+
–
0
votes
1
answer
23
Linked List
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
144
views
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
answered
Feb 26
Programming in C
linked-list
data-structures
algorithms
+
–
1
votes
0
answers
24
I have purchased the IIIT Hyderabad 2024 test series but i can't find the test series anywhere
Khushbu Chaudhary
93
views
Khushbu Chaudhary
asked
Feb 25
9
votes
3
answers
25
GO Classes Test Series 2024 | Programming | Test 1 | Question: 24
What will be the output of the following C program? Assume that negative numbers are represented using $2’s$ complement. #include<stdio.h> void main() { int a = 2; a = ~a+2 << 1; printf("%d",a); }
What will be the output of the following C program?Assume that negative numbers are represented using $2’s$ complement.#include<stdio.h void main() { int a = 2; a = ~a+...
ritiksri8
927
views
ritiksri8
answered
Feb 25
Programming in C
goclasses2024-programming-1-weekly-quiz
numerical-answers
goclasses
programming
programming-in-c
output
1-mark
+
–
3
votes
2
answers
26
GO Classes Test Series 2024 | Programming | Test 3 | Question: 23
What will be the output of the following lines of code? int i = 0; int j = 0; char *s = "ceded"; while (s[i] != '\0') { j = j + s[i] - 'b'; i = i + 1; } printf("%d %d\n", i, j); $5\; 11$ $4\; 16$ $5\; 16$ $4 \;11$
What will be the output of the following lines of code?int i = 0; int j = 0; char *s = "ceded"; while (s[i] != '\0') { j = j + s[i] - 'b'; i = i + 1; } printf("%d %d\n", ...
ritiksri8
269
views
ritiksri8
answered
Feb 25
Programming in C
goclasses2024-programming-3-weekly-quiz
goclasses
programming
programming-in-c
loop
output
2-marks
+
–
4
votes
3
answers
27
GO Classes Scholarship 2023 | Test | Question: 16
Consider the following declaration of variables $a$ and $b.$ int a = 1, b = 0; Which of the following is/are will evaluate to TRUE? b++ && b == a b++ && a == 0 a || b == --a a || ++b == 0
Consider the following declaration of variables $a$ and $b.$int a = 1, b = 0;Which of the following is/are will evaluate to TRUE?b++ && b == ab++ && a == 0a || b == aa |...
ritiksri8
679
views
ritiksri8
answered
Feb 25
Programming in C
goclasses-scholarship-test1
goclasses
programming
programming-in-c
multiple-selects
2-marks
+
–
7
votes
2
answers
28
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 33
On a $64$-bit system, which of the following C expressions is equivalent to the C expression $(x[2]+4)[3]?$ Assume $\mathrm{x}$ is declared as $\textsf{int}\ast \ast \textsf{x}$ $\ast((*(x+16))+28)$ $\ast((*(x+2))+7)$ $\ast(((* x)+2)+7)$ $(* \ast(x+2)+7)$
On a $64$-bit system, which of the following C expressions is equivalent to the C expression $(x +4)[3]?$ Assume $\mathrm{x}$ is declared as $\textsf{int}\ast \ast \text...
teja1521
420
views
teja1521
answered
Feb 25
Programming in C
goclasses2024-mockgate-14
programming
programming-in-c
pointers
1-mark
+
–
1
votes
2
answers
29
Pointers
Main() { char far *s1,*s2; Printf("%d%d",size of(s1),sizeof(s2)); }
Main(){char far *s1,*s2;Printf("%d%d",size of(s1),sizeof(s2));}
ritiksri8
675
views
ritiksri8
answered
Feb 24
7
votes
2
answers
30
Test by Bikram | Programming | Test 2 | Question: 16
What will be the output of this program ? #define square(x) x*x main() { int z; z = 25/square(5); printf("%d",z); }
What will be the output of this program ?#define square(x) x*x main() { int z; z = 25/square(5); printf("%d",z); }
ritiksri8
344
views
ritiksri8
answered
Feb 21
Programming in C
tbb-programming-2
numerical-answers
+
–
2
votes
2
answers
31
Functions and storage classes, Gate Wallah Practice Sheet,
I am getting (b) 5 ?? Can you please explain the_ int i_ in for loop and display() [MCQ] 44. Consider the following function: void display() { static int i; if(i<=printf("GATE24")) { i=i+2; display(); } } int main() { int i=0; ... ;3;i++) display(); return 0; } The number of times printf() executed is- (a) 6 (b) 5 (c) 7 (d) 9
I am getting (b) 5 ?? Can you please explain the_ int i_ in for loop and display()[MCQ] 44. Consider the following function: void display() { static int i; if(i<=printf("...
ritiksri8
564
views
ritiksri8
answered
Feb 21
Programming in C
programming-in-c
storage-classes-in-c
+
–
46
votes
5
answers
32
GATE CSE 2018 | Question: 29
#include<stdio.h> void fun1(char* s1, char* s2){ char* temp; temp = s1; s1 = s2; s2 = temp; } void fun2(char** s1, char** s2){ char* temp; temp = *s1; *s1 = *s2; *s2 = temp; } int main(){ char *str1="Hi", *str2 = "Bye"; fun1 ... of the program above is: $\text{Hi Bye Bye Hi}$ $\text{Hi Bye Hi Bye}$ $\text{Bye Hi Hi Bye}$ $\text{Bye Hi Bye Hi}$
#include<stdio.h void fun1(char* s1, char* s2){ char* temp; temp = s1; s1 = s2; s2 = temp; } void fun2(char s1, char s2){ char* temp; temp = *s1; *s1 = *s2; *s2 = temp;...
ritiksri8
15.0k
views
ritiksri8
answered
Feb 19
Programming in C
gatecse-2018
programming-in-c
pointers
parameter-passing
normal
programming
2-marks
+
–
2
votes
2
answers
33
GATE CSE 2024 | Set 2 | Question: 26
What is the output of the following $\text{C}$ program? #include <stdio.h> int main() { double $a[2]=\{20.0,25.0\},{ }^{*} \mathrm{p},{ }^{*} \mathrm{q}$; $\mathrm{p}=\mathrm{a} ;$ $q=p+1 ;$ printf("%d,%d", (int) $(q-p),($ int $\left.)\left({ }^{*} q-{ }^{*} p\right)\right)$; return $0$ ; } $4,8$ $1,5$ $8,5$ $1,8$
What is the output of the following $\text{C}$ program?#include <stdio.h>int main() {double $a =\{20.0,25.0\},{ }^{*} \mathrm{p},{ }^{*} \mathrm{q}$;$\mat...
1mohitpl
2.5k
views
1mohitpl
answered
Feb 18
Programming in C
gatecse2024-set2
programming
programming-in-c
+
–
0
votes
2
answers
34
GATE DS&AI 2024 | Question: 31
Consider the following Python function: def $\operatorname{fun}(D, s 1, s 2)$ : if $\mathrm{s} 1<\mathrm{s} 2$ ... both inclusive. It swaps the elements in $\mathrm{D}$ at indices $\mathrm{s} 1$ and $\mathrm{s} 2$, and leaves the remaining elements unchanged.
Consider the following Python function:def $\operatorname{fun}(D, s 1, s 2)$ :if $\mathrm{s} 1<\mathrm{s} 2$ :$\mathrm{D}[\mathrm{s} 1], \mathrm{D}[\mathrm...
ankitgupta.1729
858
views
ankitgupta.1729
answered
Feb 17
Programming in Python
gate-ds-ai-2024
programming
+
–
0
votes
1
answer
35
GATE DS&AI 2024 | Question: 28
Consider the following Python code: def count(child_dict, i): if i not in child_dict.keys(): return 1 ans $=1$ for $j$ in child_dict[i]: ans $+=$ count (child_dict, j) return ans child_dict $=$ dict () child_dict $[0]=[1,2]$ child_dict $[1]=[3,4,5]$ ... $)$ ) Which ONE of the following is the output of this code? $6$ $1$ $8$ $9$
Consider the following Python code:def count(child_dict, i):if i not in child_dict.keys():return 1ans $=1$for $j$ in child_dict[i]:ans $+=$ count (child_dict,...
Anmol Verma
786
views
Anmol Verma
answered
Feb 17
Programming in Python
gate-ds-ai-2024
programming
+
–
3
votes
3
answers
36
GATE CSE 2024 | Set 1 | Question: 8
Consider the following $\mathrm{C}$ program: #include <stdio.h> int main() { int a=6; int b = 0; while (a<10) { a = a / 12+1 ; a += b ;} printf ("%d", a); return 0 ; } Which one of the following ... The program prints $9$ as output The program prints $10$ as output The program gets stuck in an infinite loop The program prints $6$ as output
Consider the following $\mathrm{C}$ program:#include <stdio.h>int main() {int a=6;int b = 0;while (a<10) {a = a / 12+1 ;a += b ;}printf ("%d", a);return 0 ; }Which one ...
TusharRana
5.6k
views
TusharRana
answered
Feb 17
Programming in C
gatecse2024-set1
programming
programming-in-c
+
–
3
votes
2
answers
37
GATE CSE 2024 | Set 2 | Question: 32
Consider an array $\mathrm{X}$ that contains $\mathrm{n}$ positive integers. A subarray of $\mathrm{X}$ is defined to be a sequence of array locations with consecutive indices. The $\mathrm{C}$ code snippet given below has been written to compute the length of the longest ... $\text{(P) } \text{len} 2+1$ $\text{(Q) } \text{len} 1+1$
Consider an array $\mathrm{X}$ that contains $\mathrm{n}$ positive integers. A subarray of $\mathrm{X}$ is defined to be a sequence of array locations with co...
thehitchh1ker
1.7k
views
thehitchh1ker
answered
Feb 16
Programming in C
gatecse2024-set2
programming
programming-in-c
+
–
2
votes
1
answer
38
GATE CSE 2024 | Set 1 | Question: 38
Consider the following $\mathrm{C}$ function definition. int $\mathrm{f}$ (int $\mathrm{x}$, int $\mathrm{y})$ { for (int $i=0 ; i<y ; i++$ ) { $\mathrm{x}=\mathrm{x}+\mathrm{x}+\mathrm{y}$; } return $\mathrm{x}$; } Which of the ... $2^{10}$ If the inputs are $x=10, y=20$, then the return value is greater than $2^{20}$
Consider the following $\mathrm{C}$ function definition.int $\mathrm{f}$ (int $\mathrm{x}$, int $\mathrm{y})$ {for (int $i=0 ; i<y ; i++$ ) {$\mathrm{x}=\mathrm{x}+...
shishir__roy
1.9k
views
shishir__roy
answered
Feb 16
Programming in C
gatecse2024-set1
multiple-selects
programming
programming-in-c
+
–
3
votes
1
answer
39
GATE CSE 2024 | Set 2 | Question: 23
Consider the following $\mathrm{C}$ function definition. int f X(char * a) { char * b = a; while (*b) b ++; return b - a; } Which of the following statements is/are TRUE? The function call $\text{f X("a b c d''}$) will ... ${ }^{*} \mathrm{C}=$ "abcd" in main (), the function call $\mathrm{fX}(\mathrm{c})$ will always return a value
Consider the following $\mathrm{C}$ function definition.int f X(char * a) {char * b = a;while (*b)b ++;return b - a; }Which of the following statements is/are T...
Sachin Mittal 1
2.1k
views
Sachin Mittal 1
answered
Feb 16
Programming in C
gatecse2024-set2
programming
programming-in-c
multiple-selects
+
–
4
votes
1
answer
40
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 43
What will be the output of the following C program? #include <stdio.h> void Mickey(int**, int, int); void Mouse(int, int*); int main() { int a = 2, b = 3, c = 4; int *points = &a; Mickey(&points, b, c); printf("%d", ... x; *p = **points+1; Mouse(z, p); return; } void Mouse(int z, int *p) { *p = *p+1; return; }
What will be the output of the following C program?#include <stdio.h>void Mickey(int , int, int);void Mouse(int, int*);int main(){ int a = 2, b = 3, c = 4; int *poi...
PreyumKr
369
views
PreyumKr
answered
Feb 8
Programming in C
goclasses2024-mockgate-14
numerical-answers
programming
programming-in-c
functions
2-marks
+
–
To see more, click for all the
questions in this category
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register