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

C Code Interview Questions
Questions Answers Views Company eMail

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

7 14020

how to check whether a linked list is circular.


11 54934

Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.

IITR, Microsoft, Nike,

5 19055

Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable, but aac or bcd are unacceptable.

Amazon, Microsoft,

5 11115

Program to find the largest sum of contiguous integers in the array. O(n)

11 32436

print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!

Tata Elxsi, TCS, VI eTrans,

34 36445

print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!


11 17689

Give a oneline C expression to test whether a number is a power of 2?

EA Electronic Arts, Google, Motorola,

25 28676

How to return multiple values from a function?

7 41068

How to access command-line arguments?

4 6025

How to read a directory in a C program?

4 10459

Find your day from your DOB?

Accenture, Microsoft,

15 12941

Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.


9 16720

how can u draw a rectangle in C

Accenture, CO, Codeblocks, Cognizant, HCL, Oracle, Punjab National Bank, SAP Labs, TCS, University, Wipro,

53 91943

how to return a multiple value from a function?


5 6274

Post New C Code Questions

Un-Answered Questions { C Code }

Develop a routine to reflect an object about an arbitrarily selected plane


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00


Design an implement of the inputs functions for event mode


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?


Sir... please give some important coding questions asked by product companies..


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.


How can I Create a C program in splitting set of characters to specific subsets. Example: INPUT SET OF CHARACTERS: Therefore, my dear brothers and sisters, stand firm. Let nothing move you. Always give yourselves fully to the work of the Lord, because you know that your labor in the Lord is not in vain. SPLIT INTO HOW MANY CHARACTERS PER SUBSETS: 10 OUTPUT: Therefore, my dear b rothers an d sisters, stand fir m. Let not hing move you. Alway s give you rselves fu lly to the work of t he Lord, b ecause you know that your labo r in the L ord is not in vain.


What is data _null_? ,Explain with code when u need to use it in data step programming ?


write a simple calculator c program to perform addition, subtraction, mul and div.


Write a routine to implement the polymarker function


write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30


What is full form of PEPSI


how to test pierrot divisor


Write a program to model an exploding firecracker in the xy plane using a particle system