C Interview Questions
Questions Answers Views Company eMail

Are the outer parentheses in return statements really optional?

829

Are pointers really faster than arrays?

749

How do I swap bytes?

834

How can I get random integers in a certain range?

790

How can I determine whether a machines byte order is big-endian or little-endian?

824

Can I initialize unions?

812

How can this be legal c?

837

How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

817

What should malloc(0) do?

812

What is the right type to use for boolean values in c?

809

How can I delete a file?

826

I came across some code that puts a (void) cast before each call to printf. Why?

961

What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

813

Array is an lvalue or not?

855

What is the difference between memcpy and memmove?

774


Post New C Questions

Un-Answered Questions { C }

largest Of three Number using without if condition?

1260


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

923


Explain heap and queue.

803


Explain modulus operator. What are the restrictions of a modulus operator?

816


What is a pointer and how it is initialized?

814


What is the difference between constant pointer and constant variable?

964


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1669


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

4978


Is c procedural or functional?

787


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2416


How can you restore a redirected standard stream?

793


What are different types of pointers?

780


What is character set?

907


what is bit rate & baud rate? plz give wave forms

1723


What are valid operations on pointers?

936