C Interview Questions
Questions Answers Views Company eMail

What is maximum size of array in c?

573

Why calloc is better than malloc?

563

What is null character in c?

679

What are the loops in c?

586

What are loops in c?

539

What is anagram in c?

510

What is bubble sort technique in c?

576

What is selection sort in c?

596

How are strings stored in c?

577

How does selection sort work in c?

610

Is stack a keyword in c?

626

Is there sort function in c?

567

What does c mean in basketball?

552

What is a node in c?

540

What is file in c language?

566


Post New C Questions

Un-Answered Questions { C }

Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

589


What are categories used for in c?

552


How can you call a function, given its name as a string?

704


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

22164


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1578






Explain how do you generate random numbers in c?

612


What are c header files?

568


What is the use of sizeof?

541


How can a program be made to print the line number where an error occurs?

637


How do you define a string?

645


What are the types of functions in c?

558


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

905


What is difference between static and global variable in c?

527


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1646


Explain what are run-time errors?

600