C Interview Questions
Questions Answers Views Company eMail

related proverb of "dont count your chicken before it hatches"

1 1545

DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

Wipro,

2 2003

DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

Wipro,

2 2238




1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..

3 24611

write a c program to print a given number as odd or even without using loop statements,(no if ,while etc)

10 12660

hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

628

What is the difference between File pointer and Internal Charecter Pointer?

TATA,

2 3132

Write a program to compute the following 1!+2!+...n!

4 3201




Write a C program to print 1 2 3 ... 100 without using loops?

Hindalco,

15 17020

Write a programm such that if user enter 11.25 it roundup to 11 but if user enter 11.51 upto 11.99 it will round up to 12 i.e.;convert the floting point value into integer format as explain above..

2 1731

Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.

1484

what is mean by Garbage collection ? Please answer me. Advance thanks.

Excel,

4 3074

how to create duplicate link list using C???

1241

main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?

Excel,

3 3332

suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan

1 2426


Post New C Questions






Un-Answered Questions { C }

HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

1463


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

428


what value is returned to operating system after program execution?

805


how to capitalise first letter of each word in a given string?

686


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

778






#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

2382


write a program to find out prime number using sieve case?

822


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


how can use subset in c program and give more example

721


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

120


4. main() { int c=- -2; printf("c=%d",c); }

518


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

1900


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

1960


Difference between Shallow copy and Deep copy?

806


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

542