C Interview Questions
Questions Answers Views Company eMail

What is the difference between malloc() and calloc()?

607

What is an auto keyword in c?

631

What is the difference between near, far and huge pointers?

622

Write a program to check prime number in c programming?

582

Can we access the array using a pointer in c language?

551

Write a program to check armstrong number in c?

625

Write a program to print "hello world" without using a semicolon?

585

What is an array in c?

581

Who is the main contributor in designing the c language after dennis ritchie?

536

What is a union?

601

What are preprocessor directives in c?

626

When a c file is executed there are many files that are automatically opened what are they files?

578

What is the difference between local variable and global variable in c?

677

What is infinite loop?

617

Write a program to print “hello world” without using semicolon?

663


Post New C Questions

Un-Answered Questions { C }

Is main an identifier in c?

589


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1847


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2234


What is c definition?

733


What is cohesion and coupling in c?

576






What are the valid places to have keyword “break”?

642


How can I invoke another program or command and trap its output?

602


What is the difference between malloc() and calloc() function in c language?

587


2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist

2506


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1654


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

721


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5781


What is the right type to use for boolean values in c? Is there a standard type?

549


What's the best way of making my program efficient?

614


Why isn't it being handled properly?

632