Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~3K People Reached
About Me

enquiry kid

Interests
browsing, playing aoc, reading books
Favorite Forums
Favorite Tags
Member Avatar for aasi007onfire

[code]void strcpy(char *s, char *t) { while ( (*s++ = *t++) != `\0);}[/code] i saw this code in a particular book..... in the what does the assignment statement (*s++=*t++) return each time it gets executed........ all along i was thinking that the assignment statement return a 0 or 1 based …

Member Avatar for Ancient Dragon
0
185
Member Avatar for aasi007onfire

in our college we have a repeated C aptitude question... which goes like this.... [code] int i=5 printf("%d %d %d", i--,i,i++) [/code] and the answer given to us was 5,6,5.... when asked it was said that the compiler evaluates printf from right to left...... can somebody throw some light on …

Member Avatar for deceptikon
0
273
Member Avatar for aasi007onfire

in C there are certain variables from other programs which we would need to access... how can it be accessed and what is the type of variable and the coding used....

Member Avatar for bvgsrs
0
91
Member Avatar for aasi007onfire

can someone give me of a list of escape sequences in C..... i would like to know all of them if possible..... thanks in advance...

Member Avatar for TkTkorrovi
0
101
Member Avatar for aasi007onfire

In C the variables are often declared using keywords like auto, extern, static, const etc..... i just want to know what is the function of each.... where are they used and a system level interpretation i.e. how the system interprets these variables.... can somebody help....

Member Avatar for danysabin
0
93
Member Avatar for aasi007onfire

i posted a thread earlier and from the links given to me there i found that scanf(), gets() and some functions in C cause a lot of problem when an erroneous input is given.... 1. i want to know how these problems are avoided while programming 2. if these functions …

Member Avatar for praneeth_gunda
0
116
Member Avatar for aasi007onfire

i know some basic programming in C... now C++ is a necessity for me.... i dont have any problem with syntax... my problem is i want to know what all i must study to get accustomed to C++ i.e. the concepts that C++ has and C doesn't....

Member Avatar for vijayan121
0
165
Member Avatar for aasi007onfire

consider the structure [code]struct gun { char name[50]; int magazinesize; float calibre; };[/code] i found in the site [url]http://www.cs.cf.ac.uk/Dave/C/node9.html#SECTION00900000000000000000[/url] that the tag (i.e gun) of the structure is optional.... in that case wouldn't there be a problem when we declare a variable of type struct or if we have more …

Member Avatar for Narue
0
97
Member Avatar for aasi007onfire

when an array is received as a parameter by a function then whatever the dimensions of the array the first subscript is specified with empty braces i.e[ ] why is it so..... what is the implication of such a declaration [code] int sort(list[][a]) { /*statements*/ }[/code]

Member Avatar for thekashyap
0
92
Member Avatar for aasi007onfire

i find this clock() function can be used to find the execution time between two particular statements in the code.... how to find it for the entire program,,, i mean right from the time the program is loaded and other OS and compiler related stuff............

Member Avatar for Aia
0
67
Member Avatar for aasi007onfire

"We can also have null statements by just including a ; or let the switch statement fall through by omitting any statements (see e.g. below). The default case is optional and catches any other cases." i found these lines about the switch case statement in a site.... i couldn't understand …

Member Avatar for Narue
0
111
Member Avatar for aasi007onfire

i found that the limits of int and short int are the same........ i just want to know then what is the need of 2 with the same limits....

Member Avatar for ~s.o.s~
0
107
Member Avatar for Thinka

Hello again people, I've got some questions about timing that I hope can be answered by someone. I'm trying to use the functions [I]getrusage[/I] or [I]times[/I], or the [I]time[/I] command to time my programs. Now I've got this piece of code that uses getrusage, and my first question is a …

Member Avatar for Narue
0
1K
Member Avatar for shanthu123

i have to find two time stamps one at the begining of main and at the end of main and take the difference to find the time elapsed to execute the code in between.Can anybody suggest the programs or proper API s in Linux.

Member Avatar for thekashyap
0
162