C Code Interview Questions
Questions Answers Views Company eMail

Find the largest number in a binary tree

Infosys,

7 28039

Write a program that find and print how many odd numbers in a binary tree

1 6692

write a program to count the number the same (letter/character foreg: 's') in a given sentence.

2 6614

why java is platform independent?

Wipro,

13 23140

Write a C function to search a number in the given list of numbers. donot use printf and scanf

Honeywell, TCS,

5 14382

plz send me all data structure related programs

2 4790

plz send me all data structure related programs

2 4799

How can u say that a given point is in a triangle? 1. with the co-ordinates of the 3 vertices specified. 2. with only the co-ordinates of the top vertex given.

1 4027

You are given any character string. Find the number of sets of vowels that come in the order of aeiou in the given string. For eg., let the given string be DIPLOMATIC. The answer returned must be "The number of sets is 2" and "The sets are "IO and AI". Vowels that form a singleton set must be neglected. Try to post the program executable in gcc or g++ or in java.

3 9104

Given n nodes. Find the number of different structural binary trees that can be formed using the nodes.

Aricent, Cisco, Directi, Qualcomm,

16 34522

How will u find whether a linked list has a loop or not?

Microsoft,

8 11851

Implement a t9 mobile dictionary. (Give code with explanation )

Amazon, Peak6, Yahoo,

1 15319

programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h

1 4013

What is the main difference between STRUCTURE and UNION?

HCL,

13 187282

What is "far" and "near" pointers in "c"...?

3 6230


Post New C Code Questions

Un-Answered Questions { C Code }

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

3680


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 ?

2251


write a program for area of circumference of shapes

2026


I need your help, i need a Turbo C code for this problem.. hope u'll help me guys.? Your program will have a 3x3 array. The user will input the sum of each row and each column. Then the user will input 3 values and store them anywhere, or any location or index, temporarily in the array. Your program will supply the remaining six (6) values and determine the exact location of each value in the array. Example: Input: Sum of row 1: 6 Sum of row 2: 15 Sum of row 3: 24 Sum of column 1: 12 Sum of column 2: 15 Sum of column 3: 18 Value 1: 3 Value 2: 5 Value 3: 6 Output: Sum of Row 1 2 3 6 4 5 6 15 7 8 9 24 Sum of Column 12 15 18 Note: Your program will not necessary sort the walues in the array Thanks..

2801


3) Int Matrix of certain size was given, We had few valu= es in it like this. =97=97=97=97=97=97=97=97=97=97=97 1 = | 4 | | 5 | &= nbsp; | 45 =97=97=97=97=97=97=97=97=97=97=97 &n= bsp; | 3 | 3 | 5 | = | 4 =97=97=97=97=97=97=97=97=97=97=97 34 |&nbs= p; 3 | 3 | | 12 | &= nbsp; =97=97=97=97=97=97=97=97=97=97=97 3 | &nbs= p; | 3 | 4 | = | 3 =97=97=97=97=97=97=97=97=97=97=97 3 | = ; | | | = ; 3 | =97=97=97=97=97=97=97=97=97=97=97 &= nbsp; | | 4 | = ; | 4 | 3 We w= ere supposed to move back all the spaces in it at the end. Note: = If implemented this prog using recursion, would get higher preference.

3317






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

3063


write a simple calculator c program to perform addition, subtraction, mul and div.

3134


To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']

488


how to test pierrot divisor

2247


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1060


How can you relate the function with the structure? Explain with an appropriate example.

2911


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!!!

1833


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

3097


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

2812


why nlogn is the lower limit of any sort algorithm?

2365