C Interview Questions
Questions Answers Views Company eMail

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

Silicon,

8 22114

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

Accenture,

1 4850

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

Accenture, HCL, IBM,

17 24002

what is difference between array of characters and string

Accenture, Nest,

18 42964

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

Accenture,

14 21854

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

Accenture,

9 10614

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

Accenture, Infosys, TCS, Wipro,

16 20157

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

Accenture, TCS, Wipro,

36 26574

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 10926

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

Google,

8 14366

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

Google,

3 11013

what is the hexidecimal number of 4100?

Google,

16 19747

give one ip, find out which contry

Google,

4 11215

What is C language Terminator?

TCS,

15 28591

program to find a smallest number in an array

Microsoft, Sony,

15 35793


Post New C Questions

Un-Answered Questions { C }

What is bubble sort in c?

597


find out largest elemant of diagonalmatrix

1614


Which is the memory area not included in C program? give the reason

1468


What is the use of the function in c?

560


Explain about the constants which help in debugging?

804






Write a program to implement queue.

615


What is the equivalent code of the following statement in WHILE LOOP format?

705


what is a constant pointer in C

627


what will be maximum number of comparisons when number of elements are given?

1367


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

601


What are near, far and huge pointers?

604


What is || operator and how does it function in a program?

587


Does free set pointer to null?

522


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

721


int far *near * p; means

3081