-
-
Are pointers integers?
No, pointers are not integers.A pointer is an address.It is merely a positive number and not an integer.
-
-
Output of a++ + ++a + a++
What is the answer of a++ + ++a + a++
int a=5;c = a++ + ++a + a++;//compiler produces the answer 28!!!//HowMain(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; }
A) Gets into Infinite loopB) Compile error. Illegal syntaxC) None of the aboveD) Runtime error.Explanation: illegal syntax for using return
How would you declare an array of pointers to functions?
How would you declare an array of pointers to functions that take no parameters and return an int?
A. int (*arr[N])(void);
B. int *arr(void)[N];
C. int *arr[N](void);
D. int (*arr)(void)[N];Maximum combined length of command line arguments in C
What is the maximum length of command line arguments including space between adjacent arguments ?
Using C, How will you search for a word in file ?
if i enter an ID Number it should look in the .txt file the employee who owns that ID Number then it will display it on the screen..
What will be output of following program and how?
i=4;
j=++i*++i;
printf("%d", j);
My Ans-30;
Ans