How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer
Is This Answer Correct ? | 1 Yes | 1 No |
Question { 4156 }
how to print this pyramid *
*
*
* * * * * * *
*
*
*
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
How we can set and clear bit in a byte using macro function?
Answer
Is This Answer Correct ? | 27 Yes | 1 No |
i am using gsm modem ! I USE CMGL COMMAND TO DISPLAY THE
LIST OF MESSAGES ! I WANT TO READ EACH MESSAGE ONE BY ONE
AND GET EACH MESSAGE INDEX USING C PROGRAM ! THE RESPONSE OF
THE MODULE AFTER AT+CMGL IS
---CMGL: 1,"REC
READ","+85291234567",,"07/05/01,08:00:15+32",145,37
It is easy to list SMS text messages.----
I WANT THE PROGRAM TO GET THE NUMBER "37"{MESSAGE LENGTH}
AS WELL AS "1"(MESSAGE INDEX NUMBER"
PLEASE HELP
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Question { 3289 }
I have one doubt.
What does below statement mean?
#define sizeof(operator)
where operator can be int or float etc.
Does this statement meaningful and where it can be used?
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
Write a C program that defines a 2-dimentional integer array
called A [50][50]. Then the elements of this array should
randomly be initialized either to 1 or 0. The program should
then print out all the elements in the diagonal (i.e.
a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally,
print out how many zeros and ones in the diagonal.
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
input any 4 digit number and find the difference of all the
digits?
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
what is the purpose of the following code, and is there any
problem with the code?
void fn(long* p1, long* p2)
{ register int x = *p1;
register int y = *p2;
x ^= y;
y ^= x;
x ^= y;
*p1 = x;
*p2 = y;
}
Answer
Is This Answer Correct ? | 2 Yes | 1 No |
What is the purpose of the code, and is there any problem
with it?
unsigned int f( unsigned n )
{ return –n & 7; }
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
what is the purpose of the code, and is there any problem
with it.
bool f( uint n )
{ return (n & (n-1)) == 0; }
Answer
Is This Answer Correct ? | 1 Yes | 0 No |