4 votes
5
sum = 0;for( i = 0; i < n; i++)for( j = 0; j < i*i; j++) for( k = 0; k < j; k++) sum++; how to solve this :( help someone time complexity = o(n^5 ) how ??
0 votes
6
main(){char a [3][3] = {'g','a','t','e','s','q','u','I','z'};printf("%s", a);the answer is gatequiz, to refer to a 3dimensional array the printf statement should be *a r...
1 votes
7
main() { char check ='a'; switch(check) { case 'a'||1:printf("gats"); case 'b' || 2: printf("quiz"); break; default :printf("Gatesquiz"); } }a)gatesb)gatesquizc)gatesquiz...
3 votes
8
How C is the answer here ? for the transition Delta(Q0,1,x) to work we need X in top od stack ...so we need at least one 0 for that..so according to me D should be the an...
4 votes
9
I am getting B.. but given answer is C... As H1 sends 300 bytes and initial sequence number is 302.. then it should be transfer bytes from 302-901.. and would be expectin...
0 votes
10
#include<stdio.h>int main(){char str[20];printf("enter string");scanf("%s",&str);printf("%s",str);} warning getting "format ‘%s’ expects argument of type ‘char *�...