C Interview Questions
Questions Answers Views Company eMail

Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5

3 2632

Output for following program using for loop only * * * * * * * * * * * * * * *

3 2666

program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5

Infosys, Aptech,

8 14271




program for following output using for loop? 1 2 3 4 5 2 3 4 5 3 4 5 4 5 5

Infosys,

8 5604

simple program of graphics and their output display

Elysium,

781

If the static variable is declared as global, will it be same as extern?

Samsung,

1 4791

How to print India by nested loop? I IN IND INDI INDIA

Wipro, NIIT,

3 6184

simple program of graphics and thier outpu display with a want what is out put of graohics in c language

CSC, HCL,

1 1844




A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

HCL,

943

plz let me know how to become a telecom protocol tester. thank you.

1024

If input is 123 then how to print 100 and 20 and 3 seperately?

4 3830

An entire structure variable can be assigned to another structure variable if __________

TCS, Wipro, Sasken, Tech Mahindra,

3 7506

Give the logic for this #include #include void main() { clrscr(); int a=10,b; b=++a + ++a; printf("%d", b); getch(); } Output: 24......How?

Accenture,

2 3286

in malloc and calloc which one is fast and why?

1 3708

Difference between C and Embedded C?

1 2854


Post New C Questions






Un-Answered Questions { C }

how could explain about job profile

748


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

945


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

752


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

883


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

13188






Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 1. Print only the alphabets . If in upper case print in lower case vice versa. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array. 3. Find the count of a certain character. 4. Print the positions where a certain character occured. 5. Print the characters between successive array elements. 6. Find the largest and smallest charcter. How many times it each one occured. 7. Enter a certain range. Print out the array elements which occured between these range. 8. Reverse a character array without using another array. 9. Reverse an array region. 10. Replace a the array elements with it next character . Use a after z. 11. Code the array element with certain character as first alphabet. 12. Duplicate all the vowels in a character array. What is the new count. 13. Delete the vowels in a character array. What is the new array count. 14. Print the count of all characters in the array. 15. Enter n alphabets and store a upto tht charcter in array.What is the array count? 16. Sort a character array. 17. Merge 2 character arrays largearray,smallarray. 18. Find the pair with largest number of characters in between. 19. Find the numerical value of a charcter array. 20. Store n numeral characters in an arrray. Insert another numeral character in a certain position. 21. Insert a character in a sorted array. 22. Merge 2 sorted arrays in sorted fashion. 23. Duplicate the least occuring character. 24. Write a menu driven program to circular right/left shift an array of n elements. 25. Is the character array palindrome? if not make it palindrome. 26. Concatenate the first n charaters to the end of the string. 27. Print all n group of chracters which are palindrome. 28. Concatneate the reverse of last n characters to the array.

2630


#include { printf("Hello"); } how compile time affects when we add additional header file .

707


write a program to print data of 5 five students with structures?

900


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

910


how many errors in c explain deply

898


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2039


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

2721


write a program to print largest number of each row of a 2D array

1170


Which is the memory area not included in C program? give the reason

811


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

235