-
Hello World
Write a program in C to display output as "hello world" without using semicolon(;)?
-
Fflush() in Multiple Scanf calls
What is the requirment of using fflush() in multiple scanf calls.
-
Maximum combined length of command line arguments in C
What is the maximum length of command line arguments including space between adjacent arguments ?
-
Compare Two Files in C
Write a program that compares two files and return 0 if they are equal and 1 if they are not equal.
-
Pointer to Unsingned int
Why it is not possible to create pointer to unsingned int?
-
Read and Sort 30 integers into One Dimension Array
Write a C programme that read 30 integer numbers into one dimension array then using a function to sort them in desinding order (this function should use another function to exchange any two elements int the array) after that print desorted elements?
-
Break Statement
What is the break statement used for?1. To quit the program.2. To quit the current iteration.3. To stop the current iteration and begin the next iteration.4. None of the above.
-
C question
How can you change the value of a constant variable in C?
-
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..
-
Whats the output of.....>>?
#include
#include
void main()
{
int a=1;
if(a=1,3,5,6)
printf("good&a=%d",a);
else
printf("bad&a=%d",a);
}
} -
What is static memory allocation and dynamic memory allocation?
Static memory allocation: The compiler allocates the required memory space for a declared variable.By using the address of operator,the reserved address is obtained and this address may be assigned to a pointer variable.Since most of the declared variable have static memory,this way of assigning pointer value to a pointer variable is known as static memory allocation. memory is assigned during...
-
-
-
-
-
-
-
-
-
C Interview Questions
Ans