what will be maximum number of comparisons when number of
elements are given?
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,
what is level of tree if leaf node is at level 4.please explain.
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
suppose there are five integers write a program to find larger among them without using if- else
. Write a program to get a string and to convert the 1st letter of it to uppercase
What is the code for 3 questions and answer check in VisualBasic.Net?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Describe the order of precedence with regards to operators in C.
I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....
Explain a file operation in C with an example.
What does static mean in c?
How to swap 3 numbers without using 4th variable?