Hot questions in Programming and DS

0 votes
0 answers
2733
can anyone help me how to prepare the c programming language for gate?
0 votes
1 answer
2734
3 votes
1 answer
2735
20 votes
1 answer
2736
1 votes
2 answers
2737
#include<stdio.h int main(void) { int p = 1; int q = 0; q = p++ + p++; printf("%d %d",p,q); return 0; }Output is Showing $3,3$ How ?
1 votes
1 answer
2738
#include<stdio.h main() { char *p = 0; *p = 'a'; printf("value in pointer p is %c\n",*p); }What is the output of this code ? Why?
1 votes
1 answer
2739
what is the output?
3 votes
2 answers
2742
#include<stdio.h>int *m();void main(){int *k=m();printf("Hello");printf("%d",k[0]);}int *m(){int a ={5,8};return a;} What is the output generated?A)hello 5 8B)hello 5C)he...
3 votes
1 answer
2744
0 votes
2 answers
2745
The value of $\color{green}{ab}$, if $\color{red}{ab}$ & $\color{red}{0x3f}$ equals $\color{red}{0x27}$ is __________?$\color{blue}{\text{047}}$$\color{blue}{\text{0x0f}}...
1 votes
1 answer
2746
give an o(n) algorithm to check whether the given binary tree is bst or not
1 votes
2 answers
2747
1 votes
0 answers
2749
void main( ){ int array [3]={5,10,15,20,25,30}; int (*ptr) [3]=&array; printf("%d", *ptr); printf("%d", *(ptr+1)); printf("%d", (*ptr+1)); printf("%d",*(*(*ptr+1)+...