C Interview Questions
Questions Answers Views Company eMail

what is compiler

6 4794

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

6 6451

how many error occurs in C language ?

Infosys, Wipro,

22 30221




how many times of error occur in C

11 7853

no consistent academics. how to answer the question

1074

how many header file is in C language ?

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

43 48550

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

2 6736

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 1688




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

Infosys,

7 6921

what is the difference between arrays and linked list

MAHINDRA, Tech Mahindra, Wipro,

26 70140

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 16765

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

Infosys, ADD Software,

3 7982

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 5922

Software Interview Questions

CAT,

1 2238

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

4 7151


Post New C Questions






Un-Answered Questions { C }

write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

1503


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

839


Write a Program to accept different goods with the number, price and date of purchase and display them

3431


how many errors in c explain deply

863


what is event driven software and what is procedural driven software?

1232






what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

1547


diff between exptected result and requirement?

842


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

453


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

1064


`write a program to display the recomended action depends on a color of trafic light using nested if statments

866


write a program to concatenation the string using switch case?

817


what are the 10 different models of writing an addition program in C language?

687


write a program to rearrange the array such way that all even elements should come first and next come odd

970


write an algorithm to display a square matrix.

1364


code for replace tabs with equivalent number of blanks

789