What is c preprocessor mean?
No Answer is Posted For this Question
Be the First to Post Answer
write a program to count the no of repaeted words in a line?
Why is it usually a bad idea to use gets()? Suggest a workaround.
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?
How do you declare a variable that will hold string values?
What is && in c programming?
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
There 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?
What is FIFO?
Explain what is the difference between a string and an array?
Why do some versions of toupper act strangely if given an upper-case letter?