C Interview Questions
Questions Answers Views Company eMail

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

Silicon,

8 18638

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

Accenture,

1 3723

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

Accenture, HCL, IBM,

17 12992




what is difference between array of characters and string

Accenture, Nest,

18 36838

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

Accenture,

14 13351

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

Accenture,

9 6263

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

Accenture, Infosys, TCS, Wipro,

16 13437

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

Accenture, TCS, Wipro,

36 15606




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 7812

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

Google,

8 10985

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

Google,

3 9230

what is the hexidecimal number of 4100?

Google,

16 13798

give one ip, find out which contry

Google,

4 9298

What is C language Terminator?

TCS,

15 20455

program to find a smallest number in an array

Microsoft, Sony,

15 29918


Post New C Questions






Un-Answered Questions { C }

i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

831


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

955


what is the difference between class and unio?

1155


what is the basis for selection of arrays or pointers as data structure in a program

3084


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

263






write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4138


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3065


please send me the code for multiplying sparse matrix using c

1064


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

940


what is a function method?give example?

1157


application attempts to perform an operation?

772


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

913


provide an example of the Group by clause, when would you use this clause

993


How to establish connection with oracle database software from c language?

969


what is event driven software and what is procedural driven software?

1292