C Interview Questions
Questions Answers Views Company eMail

every function has return the value?

1 2899

what is the code to display color fonts in the output?

1 2979

Bit swapping

2 3832

what will be the output for the following main() { printf("hi" "hello"); }

RoboSoft,

5 9346

EXPLAIN #INCLUDE EXPLAIN #INCLUDE

4 29909

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.

Subex,

2272

consagous technology placement paper

Consagous, Sypra,

3 6092

program to print circle structure

1 9563

what is the basis for selection of arrays or pointers as data structure in a program

TCS,

3790

an algorithem for the implementation of circular doubly linked list

1 13044

how to add our own function in c library please give details.?

TCS,

1 3472

what is the use of c program?

Synergy, Web Synergies,

4 6866

WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

Google, Infosys,

2030

can we write a c program with out using main

3 4602

the data type used for unlimited value in c and how to do this program

1 1834


Post New C Questions

Un-Answered Questions { C }

What are the valid places to have keyword “break”?

653


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

4509


What is anagram in c?

521


What is the sizeof () a pointer?

552


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1533






a value that does not change during program execution a) variabe b) argument c) parameter d) none

699


What does char * * argv mean in c?

625


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1463


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

2802


What is the heap?

689


Why & is used in scanf in c?

629


Why can arithmetic operations not be performed on void pointers?

592


what is the syallabus of computer science students in group- 1?

1846


What is meant by type specifiers?

663


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 }

2718