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 3514wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
2 6109Find 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 5093wat is the output #define VOLEDEMORT _who_must_not_be_named int main() { printf("VOLEDEMORT"); }
2 6377wat is the output int main() { char s1[]="Hello"; char s2[]="Hello"; if(s1==s2) printf("Same"); else printf("Diff"); }
3 8707Write a program to print distinct words in an input along with their count in input in decreasing order of their count..
1 13253write 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 10108There 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 4320sir 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 3258int 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 4891
Explain how does free() know explain how much memory to release?
How can this be legal c?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is the advantage of using #define to declare a constant?
Write a program to print factorial of given number using recursion?
What are the types of type specifiers?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Explain how can I read and write comma-delimited text?
Where does the name "C" come from, anyway?
What is sizeof return in c?
What is the most efficient way to count the number of bits which are set in an integer?
What is the use of gets and puts?
Explain void pointer?
how can I convert a string to a number?
Give differences between - new and malloc() , delete and free() ?