your lead gave me the answer ................ int i = 30 void mani() { int i = 30; { int i = 20; printf("%d \n",*(&i - 1)); } } Now i can print 20 on my...
File : IndustryCodingStandardCC++.pdf Description : Learn how to write C/C++ code according to the industry requirements (MISRA rules)...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6932
File : C_Aptitude.doc Description : Know C Better...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6933
(MUST READ: IMPORTANT) Group Rules ********************************* * Subscription & Unsubscription * ********************************* How to Subscribe to...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6934
Pointers Varieties ************************************************************************************************* (1) int *p; // p is a pointer to an...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6935
Hi C/C++ enthusiasts Who am I: C For Swimmers - India's First C/C++ Programming Portal Where am I: www.c4swimmers.net What we do: Discover the depth of C Who...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6936
File : c4s.zip Description : Animated(Graphical) C Tutorial...
c4swimmers@yahoogroup...
Nov 1, 2006 9:21 pm
6937
hi, how to write a function to find the number of characters repeated in a string and postion of the charaters? plz reply me soon cheers shiva ... We have...
Hi all Volunteers needed to work pro-actively and consistently to help grow our dedicated C/C++ community (c4swimmers@yahoogroups.com) to greater heights. What...
Fore-D Tech Noida, It is almost 3 years old startup growing with a great speed. At Fore-D Tech, we strive to push the embedded device technology to its...
Yes. It works in gcc. You can try typecasting b, c and d in your program. Something like this: A = ((float)B)*255 + (float)C + ((float)D)/100; Let us know, if...
Hope this helps.... main() { int i=0,j,k=0; char str[]="c4swimmers"; char c,*ptr; clrscr(); printf("enter the character to be found"); scanf("%c",&c); ptr=str;...
try typecast A = (float)(B*255+C+D/100) the above will not change the answer if you run it with gcc or VC++ But I think you need all calculations to be done in...
Hello Prasad, One method to this is,create a structure : struct { char C; int Position; }List[100]; Now,store each and every chars of the string into the List...
Hello fishes, I a question in "Test ur C skills" by Yashwant Kanitker which went similar to this : int A = 10,B; (A == 10)?B=10:B=30; It gives an error of...
hi, can anyone tell me how to find a loop in a linear link list and in a double link list with program example? shiva ... We have the perfect Group for you....
hi c guys, ... i want a program for decimal to hexa and binary to hexa conversions, plz help me ... [Non-text portions of this message have been removed]...
hi, 1.let first ptr point to beginig of the list 2.second ptr point to the second node 3.in a loop increase 1st ptr by one node increase 2nd ptr by two nodes ...
Prasanna K P
prasannakp@...
Nov 3, 2006 4:18 pm
6951
wat do u mean by loop in linked list????? Pls explain. ... [Non-text portions of this message have been removed]...
hiii to make a loop in a link list first we create a temporary node pointer which contains the address of a node .suppose it is *q.then assigning this to start...
... Hey, sorry dude. I wrote it wrong. Actually = is having lower precedence than ?:. so your expr gets evaluated somewhat like ((a==b)? b=0: b) = 1; Here ur...
hi, whether it is a valid code to define a int (*p( ))[20] to pass an array to function which will return a pointer to an arry from a function? plz expalin...
Hi C/C++ enthusiasts Who am I: C For Swimmers - India's First C/C++ Programming Portal Where am I: www.c4swimmers.net What we do: Discover the depth of C Who...