C Interview Questions
Questions Answers Views Company eMail

What is the time and space complexities of merge sort and when is it preferred over quick sort?

Amazon,

678

Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.

Amazon,

656

Differentiate between a structure and a union.

Zensar,

770

Explain that why C is procedural?

Maveric, Verifone,

662

What is array in C

713

write a program fibonacci series and palindrome program in c

Aditi Placement Service,

633

What is volatile, register definition in C

Cognizant,

693

The difference between printf and fprintf is ?

Baan Infotech,

720

What does the file stdio.h contain?

608

What does #pragma once mean?

Celstream,

693

What is the ANSI C Standard?

Celstream,

782

What's the difference between constant char *p and char * constant p?

Celstream,

660

Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

Celstream,

671

what are the advantages of a macro over a function?

TCS,

650

what does static variable mean?

TCS,

657


Post New C Questions

Un-Answered Questions { C }

What are the advantages and disadvantages of pointers?

583


hi, which software companys will take,if d candidate's % is jst 55%?

1669


What is scope of variable in c?

573


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1500


What is the scope of global variable in c?

560






Explain what is dynamic data structure?

649


What do you mean by command line argument?

650


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2305


What is string concatenation in c?

570


What is double pointer?

563


Is sizeof a keyword in c?

586


In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none

728


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

758


What is pragma c?

620


Are pointers integer?

554