Re: [algogeeks] Assignment!!

2011-08-15 Thread sagar pareek
http://en.wikipedia.org/wiki/Comma_operator

On Mon, Aug 15, 2011 at 11:24 AM, shady sinv...@gmail.com wrote:

 read abt assignments and statements in C


 On Mon, Aug 15, 2011 at 11:14 AM, muthu raj muthura...@gmail.com wrote:

 What is the difference between the following statements.

 int a=1,2,3 ;
  and

 int a;
 a=1,2,3;


 first one is an error while second one is not.

  Can Any one  tell  me y ?







 *Muthuraj R
 IV th Year , ISE
 PESIT , Bangalore*

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.




-- 
**Regards
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT ALLAHABAD

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Assignment!!

2011-08-14 Thread muthu raj
What is the difference between the following statements.

int a=1,2,3 ;
 and

int a;
a=1,2,3;


first one is an error while second one is not.

 Can Any one  tell  me y ?







*Muthuraj R
IV th Year , ISE
PESIT , Bangalore*

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Assignment!!

2011-08-14 Thread shady
read abt assignments and statements in C

On Mon, Aug 15, 2011 at 11:14 AM, muthu raj muthura...@gmail.com wrote:

 What is the difference between the following statements.

 int a=1,2,3 ;
  and

 int a;
 a=1,2,3;


 first one is an error while second one is not.

  Can Any one  tell  me y ?







 *Muthuraj R
 IV th Year , ISE
 PESIT , Bangalore*

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Assignment: Print reverse order

2006-04-12 Thread [EMAIL PROTECTED]

1: Write a program that asks the user to input an integer value and
print it in a reverse order
Sample Output
Enter any number  65564
Reverse of 65564 is 46556

2: Write a program that takes a string as an input and print it in
reverse order.(don't use bulit-in/library function).
Sample Output
Enter any string: i m Kashif
Reverse of 
i m kashif 
is 
fihsak m i


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~--~~~~--~~--~--~---



[algogeeks] Assignment: get integers and display in words

2006-04-12 Thread [EMAIL PROTECTED]

Write a program that asks the user to input any amount as an integer
number and display  it in words
Sample output:
Enter any amount : 4562
Four thousend five hundred sixty


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~--~~~~--~~--~--~---