What is main function in c?
Answer / Abhishek Srivastava
The main() function is the entry point for any C program. It's where the execution of a program begins. The main function must return an integer value to indicate whether the program has run successfully or encountered an error.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does memset() work in C?
What is string in c language?
how can we print hellow world programme without using semicolon
pgm to reverse string using arrays i.e god is love becomes love is god) (assumption:only space is used for seperation of words) no addtional memory used.i.e no temporary arrays can used.
can we have joblib in a proc ?
what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }
What is a structure member in c?
Explain how can you determine the size of an allocated portion of memory?
i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);
c language interview questions & answer
how to get starting address of a running C program
Explain how do you view the path?