Which of the following is not a valid declaration for main
()?




1) int main()


2) int main(int argc, char *argv[])


3) They both work

Answer Posted / chandrakala

3.both are works well.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

All technical questions

1524


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2466


What is a pointer on a pointer in c programming language?

630


Explain what is the difference between #include and #include 'file' ?

593


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1517






What are the 4 types of unions?

621


How would you obtain the current time and difference between two times?

738


What is the difference between text and binary i/o?

606


What are the advantages and disadvantages of pointers?

590


What is the difference between mpi and openmp?

746


hi send me sample aptitude papers of cts?

1665


What is modeling?

655


what is uses of .net

1283


Can i use “int” data type to store the value 32768? Why?

764


Write a program for Overriding.

700