dd Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers
Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers
Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers Faqs_Questions_And_Answers
Accounting Faqs_Questions_And_Answers Action Script Faqs_Questions_And_Answers AJAX Faqs_Questions_And_Answers Antivirus Faqs_Questions_And_Answers C Faqs_Questions_And_Answers C++ Faqs_Questions_And_Answers CAD Faqs_Questions_And_Answers CAM Faqs_Questions_And_Answers Data Stage Faqs_Questions_And_Answers Data Base Faqs_Questions_And_Answers Data Warehousing Faqs_Questions_And_Answers Desktop Publishing
Data Structures Faqs_Questions_And_Answers Freeware Faqs_Questions_And_Answers Graphics Faqs_Questions_And_Answers Hacking Faqs_Questions_And_Answers Internet Faqs_Questions_And_Answers Intranet Faqs_Questions_And_Answers JAVA Faqs_Questions_And_Answers J2EE Faqs_Questions_And_Answers Lotus Notes Faqs_Questions_And_Answers MainFrames Faqs_Questions_And_Answers Marketing Faqs_Questions_And_Answers Multimedia
MIS Faqs_Questions_And_Answers MySql Faqs_Questions_And_Answers .NET Faqs_Questions_And_Answers Open Source Faqs_Questions_And_Answers Operating Systems Faqs_Questions_And_Answers Oracle Apps Faqs_Questions_And_Answers Oracle9i Faqs_Questions_And_Answers OOPS Faqs_Questions_And_Answers Pl/SQL Faqs_Questions_And_Answers People Soft Faqs_Questions_And_Answers PHP
Sql Server Faqs_Questions_And_Answers SAP Faqs_Questions_And_Answers SAS Faqs_Questions_And_Answers Siebel Faqs_Questions_And_Answers Security Faqs_Questions_And_Answers Springs Faqs_Questions_And_Answers Shell Scripting Faqs_Questions_And_Answers Perl Scripting Faqs_Questions_And_Answers Testing Tools Faqs_Questions_And_Answers Web Sphere Faqs_Questions_And_Answers XML
C

C

1 what is the difference between a while statement and a do statement?
Ans: A while statement checks at the beginning of a loop to see whether the next loop iteration should occur. A do statement checks at the end of a loop to see whether the next iteration of a loop should occur. The do statement will always execute the body of a loop at least once.
 
2 what is the difference between a break statement and a continue statement?
Ans: A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.
 
3 what does break and continue statements do?
Ans: Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.
 
4 how can you tell what shell you are running on unix system?
Ans: You can do the Echo $RANDOM. It will return a undefined variable if you are from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5 digit random numbers if you are from the Korn shell. You could also do a ps -l and look for the shell with the highest PID.
 
5 what is the difference between a pointer and a reference?
Ans: You can do the Echo $RANDOM. It will return a undefined variable if you are from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5 digit random numbers if you are from the Korn shell. You could also do a ps -l and look for the shell with the highest PID.
Top