C Interview Questions
Questions Answers Views Company eMail

write a program to print the all 4digits numbers & whose squares must me even numbers?

Virtusa,

2 3828

What is the main differences between C and Embedded C?

9 52285

Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me

7 5085




We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

NIIT,

4 7134

How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?

NIIT,

4 5541

what are advantages of U D F?

Google,

1 1055

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

670

Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 2440




Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 1879

Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986

2 2236

print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5

IBM,

7 7937

Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321

HCL,

7 7827

C program to find all possible outcomes of a dice?

1139

C program to find frequency of each character in a text file?

5 27053

write a own function for strstr

LG Soft,

1 9150


Post New C Questions






Un-Answered Questions { C }

Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

1969


What is the code for 3 questions and answer check in VisualBasic.Net?

939


how to find anagram without using string functions using only loops in c programming

1882


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

670


how to print the character with maximum occurence and print that number of occurence too in a string given ?

1246






how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

422


number of times a digit is present in a number

758


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

751


hi, which software companys will take,if d candidate's % is jst 55%?

811


difference between Low, Middle, High Level languages in c ?

808


which type of aspect you want from the student.

867


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)

782


PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE

710


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

2817


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

845