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
~612 People Reached
Favorite Forums
Favorite Tags
c x 8
Member Avatar for swapnaoe

Hi there, Here's a basic question from the basics of C. Woukd like to know the use of appending L or UL at the end of integer constant which is assigned to an unsigned int type variable. for eg: on a 32-bit machine unsigned int i; i= 543727232UL; what way …

Member Avatar for Adak
0
174
Member Avatar for swapnaoe

Hi there, [CODE] #include<stdio.h> main() { int i; i=1,2,3; printf("Value of i with assignment as i=1,2,3 is %d\n", i); i=(1,2),3; printf("Value of i with assignment as i=(1,2),3 is %d\n", i); i=1,(2,3); printf("Value of i with assignment as i=1,(2,3)is %d\n", i); i=(1,2,3); printf("Value of i with assignment as i=(1,2,3) is %d\n", …

Member Avatar for Ancient Dragon
0
82
Member Avatar for swapnaoe

[CODE=c] /*main.c*/ #include<stdio.h> extern void func(void); main() { extern int i; printf("i in main %d\n",i); printf("Call to func before modifying i in main...\n"); func(); i=66; printf("Call to func after modifying i in main to 66..\n"); func(); getchar(); } /*file1.c*/ char i=65; void func(void) { printf("i in func %c\n",i); } [/CODE] …

Member Avatar for Ancient Dragon
0
189
Member Avatar for swapnaoe

Request for following excerpt's explanation. [URL="http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/param_decl.htm"]http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=/com.ibm.xlcpp8l.doc/language/ref/param_decl.htm[/URL] [QUOTE]Except in certain contexts, an unsubscripted array name (for example, region instead of region[4]) represents a pointer whose value is the address of the first element of the array, provided that the array has previously been declared. An array type in the parameter list …

Member Avatar for swapnaoe
0
167