C Interview Questions
Questions Answers Views Company eMail

Sir i want e-notes of C languge of BAlaguruswami book i.e scanned or pdf file of balaguruswamy book on c language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com

8 14731

what is array?

HCL, Amdocs,

63 35790

Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"

1 2742




Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"

IBM,

6 7222

1.find the second maximum in an array? 2.how do you create hash table in c? 3.what is hash collision

HCL, Qualcomm,

9 10468

1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?

Qualcomm,

3 7828

what is the use of #pragma pack, wer it is used?

Wipro,

2 5004

What is structure padding & expalain wid example what is bit wise structure?

1 4773




explain memory layout of a C program

2 13934

what are the compilation steps? ( i want inside the compiler )

2 6343

what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??

5 4814

int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation.

Global Edge,

14 12428

to find out the reverse digit of a given number

TCS, Microsoft, Infosys, Wipro,

6 13516

write a own function to compare two strings with out using stringcomparition function?

Sasken, LG Soft,

6 7905

write a programme that inputs a number by user and gives its multiplication table.

2 2025


Post New C Questions






Un-Answered Questions { C }

write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

2051


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

750


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2382


ATM machine and railway reservation class/object diagram

4013


I need previous papers of CSC.......plz help out by posting them.......

936






The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

177


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

619


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1528


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

777


writ a program to compare using strcmp VIVA and viva with its output.

682


write a program to find out prime number using sieve case?

822


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

1715


write a programming in c to find the sum of all elements in an array through function.

927


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

1205


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1771