C Interview Questions
Questions Answers Views Company eMail

Write a C program to perform some of the operation which can be performed using Single linked list

Qualcomm,

1 6174

How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.

1 1869

what is an array

5 2925




progrem to generate the following series 1 12 123 1234 12345

Wipro, HCL,

6 33656

what will be printed by this printf? printf("%c",printf("hi")["sharkselva"])); }

HCL,

3 7188

who is the father of C Language?

UST, CTS,

20 18385

a=(1,2,3); b=1,2,3; c=1,(2,3); d=(1,2),3; what's the value of 'a','b','c','d'

2 2624

what would be the output of the following program? main() { int k = 123; char *ptr; ptr = &k; printf("%d",*ptr); }

4 3620




what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 1881

int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }

3 3161

Hi can anyone tell what is a start up code?

CTS,

879

Can anyone tell what is stack overflow? what precaution we should take?

1 1849

what are the advantages & disadvantages of unions?

2 28963

which one is better structure or union?(other than the space occupied )

2 8475

can anyone please tell about the nested interrupts?

879


Post New C Questions






Un-Answered Questions { C }

how many errors in c explain deply

877


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

3803


Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

4417


string reverse using recursion

1085


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

1569






Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

833


disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit

828


FILE PROGRAMMING

1025


Wt are the Buses in C Language

2014


what is bit rate & baud rate? plz give wave forms

785


what is uses of .net

522


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

1246


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

1487


how to execute a program using if else condition and the output should enter number and the number is odd only...

867


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1030