C Interview Questions
Questions Answers Views Company eMail

what is compiler

6 4637

main() { printf(5+"Vidyarthi Computers"); }

6 6312

how many error occurs in C language ?

Infosys, Wipro,

22 29686




how many times of error occur in C

11 7652

no consistent academics. how to answer the question

1015

how many header file is in C language ?

IBM, IMS, Wipro, ME, CTS, Infosys, College School Exams Tests, Sign Solutions, XVT,

43 47083

How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;

2 6577

Suppose I want to write a function that takes a generic pointer as an argument and I want to simulate passing it by reference. Can I give the formal parameter type void **, and do something like this? void f(void **); double *dp; f((void **)&dp);

1 1614




what is the differance between pass by reference and pass by value.

Infosys,

7 6739

what is the difference between arrays and linked list

MAHINDRA, Tech Mahindra, Wipro,

26 69596

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,another has combination of apple and orange,what is the least way of interchange the lables.

MBT, Cisco, Google,

15 16415

Write a programme to find even numbers without using any conditional statement?

Infosys, ADD Software,

3 7778

Write a program for the following series: 1*3*5-2*4*6+3*5*7-4*6*8+.................up to nterms

Convex Digital,

5 5783

Software Interview Questions

CAT,

1 2152

How do you write a program which produces its own source code as its output?

4 7022


Post New C Questions






Un-Answered Questions { C }

regarding pointers concept

725


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

870


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1028


Why is it important to memset a variable, immediately after allocating memory to it ?

741


please send me the code for multiplying sparse matrix using c

955






write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

758


Is Exception handling possible in c language?

765


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

1282


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

1034


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

638


can anyone suggest some site name..where i can get some good data structure puzzles???

854


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

742


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

907


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

649


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

408