C Interview Questions
Questions Answers Views Company eMail

What is main void in c?

1 700

Can we declare variables anywhere in c?

563

What is extern variable in c with example?

528

Why we use stdio h in c?

567

Why void is used in c?

555

What is the value of uninitialized variable in c?

560

What is the use of typedef in c?

574

What is volatile variable in c?

647

What is variable and explain rules to declare variable in c?

543

Why we use break in c?

536

Is return a keyword in c?

585

What is scope and lifetime of a variable in c?

562

What are the types of variables in c?

570

What are external variables in c?

532

Why main is not a keyword in c?

637


Post New C Questions

Un-Answered Questions { C }

What are 3 types of structures?

577


Explain how can I right-justify a string?

610


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

1491


What is use of #include in c?

584


What is the difference between printf and scanf in c?

734






What is preprocessor with example?

572


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3325


Explain how can I make sure that my program is the only one accessing a file?

606


Why cant I open a file by its explicit path?

585


Why do we need volatile in c?

733


What is assignment operator?

615


What is an arrays?

642


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

596


Explain the difference between #include "..." And #include <...> In c?

610


Explain spaghetti programming?

674