C Interview Questions
Questions Answers Views Company eMail

how to find the kth smallest element in the given list of array elemnts.

Silicon,

8 22839

how to sort two array of characters and make a new array of characters.

Accenture,

1 5074

what is difference between ++(*p) and (*p)++

Accenture, HCL, IBM,

17 25686

what is difference between array of characters and string

Accenture, Nest,

18 44292

char ch=10;printf("%d",ch);what is the output

Accenture,

14 23316

char ch="{'H','I',0};printf("%s",ch);what is output

Accenture,

9 11606

which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

Accenture, Infosys, TCS, Wipro,

16 21845

what will be the output: main(){char ch;int a=10;printf("%d",ch);}

Accenture, TCS, Wipro,

36 29333

value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?

Google,

6 11454

class foo { public: static int func(const char*& p) const; }; This is illegal, why?

Google,

8 15138

how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.

Google,

3 11500

what is the hexidecimal number of 4100?

Google,

16 21082

give one ip, find out which contry

Google,

4 11754

What is C language Terminator?

TCS,

15 29918

program to find a smallest number in an array

Microsoft, Sony,

15 36977


Post New C Questions

Un-Answered Questions { C }

Is file a keyword in c?

605


When we use void main and int main?

675


Explain how can I remove the trailing spaces from a string?

712


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

756


can any one provide me the notes of data structure for ignou cs-62 paper

1794






what is the significance of static storage class specifier?

1778


Write a program to print fibonacci series using recursion?

710


What is the purpose of & in scanf?

702


What is 2c dna?

703


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

693


code for replace tabs with equivalent number of blanks

1767


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

757


in iso what are the common technological language?

1727


Explain what is output redirection?

763


Why c language is called c?

663