Can someone tell me what is difference between using
#pragma pack(push,aaa, 1)
struct check
{
int a;
char b;
Type: Posts; User: prasath
Can someone tell me what is difference between using
#pragma pack(push,aaa, 1)
struct check
{
int a;
char b;
hi,
will someone point me the reasons why a call to malloc fails even if we have enough memory ?
Hi,
you have used a uppercase letter(pointed by orange color) in printf statement, that's why you are getting an linker error
switch (answer) {
case 'Y':
...
Hi xhoangx,
i think the mistake u made is checking the values in if statement.if u want to compare some value that should be in single quotes(' ') or else it will take the equavalent...
When ENTER key is pressed, it returns a newline character ('\n').just check for the new line character and proceed.And make sure the variable yor collecting the input should be of type CHAR or...
where you have declared "i" ?
why you are incrementing "i" instead of "pos"?
if u have answers for the above questions, ur problem is over
for (pos=0; i<TOTAL; i++)
if (course_id ==...
In scanf function,Each argument must be a pointer to a variable of a type that corresponds to a type specifier in format.
*(Trial+(i+j)) dereferences and fetch the value at that address.
...
This function returns the actual size of the file.i hope this will help u
ulong findlengthof(FILE *fp)
{
ulong start,end;
start = ftell(fp);
fseek( fp, 0, SEEK_END );
end = ftell(fp);...
Just check which one is greater and find out the difference accordingly.this solves the negative problem
yarea>harea ? (grasqyd = yarea - harea) : (grasqyd = harea - yarea);
grasqyd = yarea - harea;
I made the change but I'm still getting -2682.00000 seconds for an
answer.
In Case of Visual c++, the order of evaluation will from right to left and on the precedence of operators
#include <stdio.h>
int main(void)
{
int a = 5;
i didn't understand ur question.
I assume this may be the answer for the question
argv[0] parameter hold the fully qualified path name of the program ur running