C Interview Questions
Questions Answers Views Company eMail

How to draw the flowchart for structure programs?

6553

code for copying two strings with out strcpy() function.

6 7760

what is data structure

4 2693




program for comparing 2 strings without strcmp()

4 5527

Dear Sir, we are required the bubble sorting programs Regs Prem

1 1875

write a program in c language for the multiplication of two matrices using pointers?

Ignou,

8 20556

how to find string length wihtout using c function?

6 4938

how to copy a string without using c function

5 5643




how to generate sparse matrix in c

3 36974

write a program that explain #define and # undef directive

1 2580

du u know test pattern for robosoft? Plz share

Wipro, TATA, RoboSoft,

1 7166

What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

IBM,

1068

Is reference used in C?

1 2286

1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.

TCS, Ignou,

4 9311

How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.

1 1727


Post New C Questions






Un-Answered Questions { C }

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

673


What is the difference between if else and switchstatement

545


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2125


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

906


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

923






what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

694


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

828


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1178


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

175


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

789


You have given 2 array. You need to find whether they will create the same BST or not. For example: Array1:10 5 20 15 30 Array2:10 20 15 30 5 Result: True Array1:10 5 20 15 30 Array2:10 15 20 30 5 Result: False One Approach is Pretty Clear by creating BST O(nlogn) then checking two tree for identical O(N) overall O(nlogn) ..we need there exist O(N) Time & O(1) Space also without extra space .Algorithm ?? DevoCoder guest Posted 3 months ago # #define true 1 #define false 0 int check(int a1[],int a2[],int n1,int n2) { int i; //n1 size of array a1[] and n2 size of a2[] if(n1!=n2) return false; //n1 and n2 must be same for(i=0;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

1903


int far *near * p; means

2223


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

1570


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

730


how can use subset in c program and give more example

769