how to introdu5ce my self in serco
No Answer is Posted For this Question
Be the First to Post Answer
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
25 Answers Datamatics, Solartis, TCS, ThinkBox, Trine,
What is the usage of the pointer in c?
what is the difference between c and c++?
Explain about block scope in c?
Find MAXIMUM of three distinct integers using a single C statement
What is the difference between realloc() and free()
Explain what happens if you free a pointer twice?
What is the difference between mpi and openmp?
Find if a number is power of two or not?
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....
What is p in text message?
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??