C Interview Questions
Questions Answers Views Company eMail

write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list

Persistent,

1479

Explain the process of converting a Tree into a Binary Tree.

Ignou,

1181

List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

Ignou,

1510




how would a 4*3 array A[4][3] stored in Row Major Order?

HCL, Ignou,

901

what is the different between data structure and data type?

Ignou,

1 2330

what is data structure?

CBSE,

5 3039

show how link list can be used to repersent the following polynomial i) 5x+2

CBSE,

954

develop algorithms to add polynomials (i) in one variable

TCS, Ignou,

975




write an algorithm and a program to count the number of elements in a circularly singly linked list

Ignou,

1 10472

Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .

State Bank Of India SBI,

4 3852

what would be the output of the follwing struct st { char name[20]; int i; float f; }; main() { struct st emp = {"forum"}; printf("%d %f",emp.i,emp.f); }

4 2663

Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.

2 8761

/*program to calculate hra,da in salary if salary less than 10000 then hra15%,da13% otherwise hra20%,da18%/*

6 10450

though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks

State Bank Of India SBI,

3 11314

please can some one guide me, to the answer Write a C program to enter 15 numbers as an input from the keyboard and program will find and print odd numbers and their average. i have studied while and do while loop for loop if and else if switch

2 2858


Post New C Questions






Un-Answered Questions { C }

The OS is a program that uses various data structures. Like all programs in execution, you can determine the performance and other behavior of the OS by inspecting its state - the values stored in its data structures. In this part of the assignment, we study some aspects of the organization and behavior of a Linux system by observing values of kernel data structures exposed through the /proc virtual file system. The /proc virtual file system: Linux uses the /proc file system to collect information from kernel data structures. The /proc implementation provided with Linux can read many different kernel data structures. If you cd to /proc on a Linux machine, you will see a number of files and directories at that location. Files in this directory subtree each corresponds to some kernel data structure. The subdirectories with numeric names contain virtual files with information about the process whose process ID is the same as the directory name. Files in /proc can be read like ordinary ASCII files. You can open each file and read it using library routines such as fgets() or fscanf(). The proc (5) manual page explains the virtual files and their content available through the /proc file system. Requirements in detail: In this part, you are asked to write a program to report the behavior of the Linux kernel. Your program should run in two different versions. The default version should print the following values on stdout: • Processor type • Kernel version • The amount of memory configured into this computer • Amount of time since the system was last booted A second version of the program should run continuously and print lists of the following dynamic values (each value in the lists is the average over a specified interval): • The percentage of time the processor(s) spend in user mode, system mode, and the percentage of time the processor(s) are idle • The amount and percentage of available (or free) memory • The rate (number of sectors per second) of disk read/write in the system • The rate (number per second) of context switches in the kernel • The rate (number per second) of process creations in the system If your program (compiled executable) is called proc_parse, running it without any parameter should print out information required for the first version. Running it with two parameters "proc_parse " should print out information required for the second version. read_rate represents the time interval between two consecutive reads on the /proc file system. printout_rate indicates the time interval over which the average values should be calculated. Both read_rate and printout_rate are in seconds. For instance, proc_parse 2 60 should read kernel data structures once every two seconds. It should then print out averaged kernel statistics once a minute (average of 30 samples). The second version of your program doesn't need to terminate.

3320


write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.

4082


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

908


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

888


Which driver is a pure java driver

207






write a program to print largest number of each row of a 2D array

1170


please send me the code for multiplying sparse matrix using c

1044


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

2492


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.

854


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

689


#include { printf("Hello"); } how compile time affects when we add additional header file .

707


a program that can input number of records and can view it again the record

751


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

457


what will be maximum number of comparisons when number of elements are given?

700


c language interview questions & answer

749