Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

how to find a 5th bit is set in c program

IBM,

4 14908

write a c program to check weather a particluar bit is set or not?

IBM,

5 23471

program to get the remainder and quotant of given two numbers with out using % and / operators?

College School Exams Tests, IBM,

10 34166

can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????

Cognizant,

2 5670

What is the difference b/w main() in C language and main() in C++.

7 10359

what will happen if you free a pointer twice after allocating memory dynamically ?

Novell,

3 12132

what is dangling pointer?

LG Soft,

1 5939

Can we write a program without main() function?

9 15132

What is the difference between null pointer and the void pointer?

3 9223

How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 20569

hat is a pointer?

Assurgent,

4 7217

how will you write a program on linked lists using JAVA programming???????????

Keane India Ltd,

1 3605

The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

2080

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.

Cognos,

4909

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

2319


Post New C Questions

Un-Answered Questions { C }

What is #pragma statements?

1099


What is meant by errors and debugging?

1107


What is dynamic dispatch in c++?

1062


Why clrscr is used after variable declaration?

1689


Using which language Test cases are added in .ptu file of RTRT unit testing???

4283


What are the types of pointers in c?

1029


What is the difference between a free-standing and a hosted environment?

1146


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1697


Are negative numbers true in c?

1067


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

2072


In C language what is a 'dangling pointer'?

1150


What is c system32 taskhostw exe?

1026


How can I sort more data than will fit in memory?

1112


Mention four important string handling functions in c languages .

1109


What is LINKED LIST? How can you access the last element in a linked list?

1071