Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 17427

what is array?

Amdocs, HCL,

63 45351

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 3255

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 8381

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 12353

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

Qualcomm,

3 8757

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

Wipro,

2 6000

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

1 5382

explain memory layout of a C program

2 15472

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

2 7028

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

5 6116

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,

15 16145

to find out the reverse digit of a given number

Infosys, Microsoft, TCS, Wipro,

6 14720

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

LG Soft, Sasken,

6 9601

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

2 2688


Post New C Questions






Un-Answered Questions { C }

write a c program in such a way that if we enter the today date the output should be next day's date.

1286


What is a macro in c preprocessor?

219


Why is structure padding done in c?

207


How do I swap bytes?

230


Explain the difference between the local variable and global variable in c?

209






What do you mean by command line argument?

251


What is a scope resolution operator in c?

239


What are the advantages of c preprocessor?

253


Write a program to print fibonacci series using recursion?

216


What are the advantages and disadvantages of pointers?

199


Can we declare variable anywhere in c?

171


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.

673


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

892


Write a program for Overriding.

239


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

677