C Interview Questions
Questions Answers Views Company eMail

What do you mean by recursion in c?

597

Explain the difference between ++u and u++?

613

What is pointer & why it is used?

572

What do you mean by dynamic memory allocation in c? What functions are used?

625

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

600

Explain the difference between getch() and getche() in c?

543

Why is c called "mother" language?

830

What is static memory allocation? Explain

595

What is an array? What the different types of arrays in c?

629

What do you mean by keywords in c?

599

Explain the term printf() and scanf() used in c language?

568

What do you mean by dynamic memory allocation in c?

624

What functions are used in dynamic memory allocation in c?

567

How is a null pointer different from a dangling pointer?

531

Lists the benefits of c programming language?

568


Post New C Questions

Un-Answered Questions { C }

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

593


Is a house a mass structure?

625


What language is windows 1.0 written?

545


Why header file is used in c?

544


Can the “if” function be used in comparing strings?

566






What is difference between scanf and gets?

586


What is preprocessor with example?

564


Write a program to print fibonacci series using recursion?

560


What is the scope of an external variable in c?

544


Explain is it valid to address one element beyond the end of an array?

704


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

2670


What is the maximum length of an identifier?

642


What is a file descriptor in c?

539


What is c standard library?

665


What are the two forms of #include directive?

617