hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
1 3584wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
2 6208Find the O/p of the following struct node { char *name; int num; }; int main() { struct node s1={"Harry",1331}; struct node s2=s1; if(s1==s2) printf("Same"); else printf("Diff"); }
1 5180wat is the output #define VOLEDEMORT _who_must_not_be_named int main() { printf("VOLEDEMORT"); }
2 6498wat is the output int main() { char s1[]="Hello"; char s2[]="Hello"; if(s1==s2) printf("Same"); else printf("Diff"); }
3 8852Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
1 13332write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
iGate, Shashi, Source Bits, Subex,
1 10190There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
2 4432sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.
1 3327int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(ā%dā,*(*(x+1)+3));
2 4976
Explain what happens if you free a pointer twice?
What is pre-emptive data structure and explain it with example?
How to write a code for reverse of string without using string functions?
develop algorithms to add polynomials (i) in one variable
What is the full form of getch?
Explain what is the difference between null and nul?
How can I recover the file name given an open stream?
What is return in c programming?
How do you use a 'Local Block'?
Explain what is the difference between a free-standing and a hosted environment?
I have a varargs function which accepts a float parameter?
cavium networks written test pattern ..
What are register variables in c?
What is a good data structure to use for storing lines of text?
What is the auto keyword good for?