-
-
All Cominations of a Word
Write a C program for all possible combinations of letters in a word?
-
Read Line Program
Write a program that will read a line and delete from it all occurences of the word 'the'
-
Error Code
Will this code cause an error during runtime, error during compilation, or no error? 1.) char str[5]; strcpy (str, "hello"); 2.) char *str; strcpy (str, "hello");
-
-
-
-
Null Pointers
What is the use of null pointers?
-
Types of Exceptions in C
What are all the type of Exceptions available in C ?
-
NULL Macro
What is NULL Macro? What is the difference between a NULL Pointer and a NULL macro?
-
Storage Class
What is Storage Class?
-
Declare Array of N Pointers
How do you declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
-
-
Convert Integer to String
How will you convert an integer to a string without using itoa() function?
-
C program
Write a program that will read a line and delete from it all occurences of the word 'the'
-
Faster Statement Execute
Which one will execute faster if(flag==0) or if (0==flag) and why?
-
-
Invoke another Program Within C
How will you invoke another program from within a C program?
-
Open Files
How will you increase the allowable number of simultaneously open files?
-
Point out the error, if any, in the following program main() { int a=10,b; a>= 5 ? b=100 : b=200; printf("n%d",b); }
lvalue required in function main(). The second assignment should be written in parenthesis as follows:
a>= 5 ? b=100 : (b=200);
C Interview Questions
Ans