C Code Interview Questions
Questions Answers Views Company eMail

how to return a multiple value from a function?

Wipro,

2 6293

String copy logic in one line.

Microsoft, NetApp,

11 25347

String reverse with time complexity of n/2 with out using temporary variable.

NetApp, Symantec,

10 21496

Link list in reverse order.

NetApp,

8 15436

Sorting entire link list using selection sort and insertion sort and calculating their time complexity

Infosys, Microsoft, NetApp,

1 6733

Finding a number which was log of base 2

NetApp,

1 7911

Finding a number multiplication of 8 with out using arithmetic operator

Eyeball, NetApp,

8 16665

How do you sort a Linked List (singly connected) in O(n) please mail to pawan.10k@gmail.com if u can find an anser...i m desperate to knw...

Microsoft, MSD, Oracle,

6 14388

write the function. if all the character in string B appear in string A, return true, otherwise return false.

Google,

11 15817

1) int i=5; j=i++ + i++ + i++; printf("%d",j);This code gives the answer 15.But if we replace the value of the j then anser is different?why? 2)int i=5; printf("%d",i++ + i++ + i++); this givs 18.

IBPS, Infosys, TCS,

8 60534

How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com

Deshaw, Infosys,

11 35700

How to reverse a String without using C functions ?

Matrix, TCS, Wipro,

33 102260

How we will connect multiple client ? (without using fork,thread)

TelDNA,

3 7022

To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates.

Amazon, BITS, Microsoft, Syncfusion, Synergy, Vector,

19 125065

to remove the repeated cahracter from the given caracter array. i.e.., if the input is SSAD output should of SAD

Synergy,

6 8093


Post New C Code Questions

Un-Answered Questions { C Code }

What is data _null_? ,Explain with code when u need to use it in data step programming ?

2828


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2228


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3860


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2147


Design an implement of the inputs functions for event mode

2970






Write a program to model an exploding firecracker in the xy plane using a particle system

3697


How to palindrom string in c language?

8889


What is full form of PEPSI

1873


could you please send the program code for multiplying sparse matrix in c????

3078


A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is already reserved then it will prompt an error message. And also if the input seat no is out of range then it will also prompt an error message. The program is continuously running. Termination of the program will depends on how the programmer will apply. Sample output: Movie Seats Reservation Summary of Seats: Seat 1: Available Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 6 The Seat no. is out of range! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 The Seat no. is already reserved! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 0 GoodBye... Thank You!!!

1850


write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??

4150


Cluster head selection in Wireless Sensor Network using C programming language.

3117


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2867


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2265


In a gymnastic competition, scoring is based on the average of all scores given by the judges excluding the maximum and minimum scores. Let the user input the number of judges, after that, input the scores from the judges. Output the average score. Note: In case, more than two judges give the same score and it happens that score is the maximum or minimum then just eliminate two scores. For example, if the number of judges is 5 and all of them give 10 points each. Then the maximum and minimum score is 10. So the computation would be 10+10+10, this time. The output should be 10 because 30/3 is 10.

2391