-
-
-
TSR
Explain How Terminate & Stay Resident (TSR) and Offline programming differ from one another.
-
If the program (myprog) is run from the command line as myprog 1 2 3 , What would be the output? main(int argc, char *argv[]) { int i; for(i=0;i<argc;i++) printf("%s",argv[i]); }
A) 1 2 3B) C:MYPROG.EXE123C) MYPD) None of the above
-
-
-
Write sample code or algorithim to get all possible combinations of data that will be entered from keyboard
like, If i enter 1 2 3 then it should show 1 2 31 3 2 2 1 3 All 6 possible combnations
-
Hello World
Write a program in C to display output as "hello world" without using semicolon(;)?
-
Header File
Why should we use header file?
-
What is the heap?
The heap is where malloc(), calloc(), and realloc() get memory. Getting memory from the heap is much slower than getting it from the stack. On the other hand, the heap is much more flexible than the stack. Memory can be allocated at any time and deallocated in any order. Such memory isn’t deallocated automatically; you have to call free(). Recursive data structures are almost always implemented with...
-
-
What is a pragma?
The #pragma preprocessor directive allows each compiler to implement compiler-specific features that can be turned on and off with the #pragma statement. For instance, your compiler might support a feature called loop optimization. This feature can be invoked as a command-line option or as a #pragma directive. To implement this option using the #pragma directive, you would put the following line into...
-
Datatypes Justify Output
#includevoid main(){ float a=0.7; if(a
-
-
-
-
-
Printf() and printf as a variable
Can printf be used as a variable as well as a procedure?
-
-
C Interview Questions
Ans