Categories
5G Network
Agile
Amazon EC2
Android
Angular
Ansible
Arduino
Artificial Intelligence
Augmented Reality
AWS
Azure
Big Data
Blockchain
BootStrap
Cache Teachniques
Cassandra
Commercial Insurance
C#
C++
Cloud
CD
CI
Cyber Security
Data Handling
Data using R
Data Science
DBMS
Design-Pattern
DevOps
ECMAScript
Fortify
Ethical Hacking
Framework
GIT
GIT Slack
Gradle
Hadoop
HBase
HDFS
Hibernate
Hive
HTML
Image Processing
IOT
JavaScript
Java
Jenkins
Jira
JUnit
Kibana
Linux
Machine Learning
MangoDB
MVC
NGINX
Onsen UI
Oracle
PHP
Python
QTP
R Language
Regression Analysis
React JS
Robotic
Salesforce
SAP
Selenium
Service Discovery
Service Now
SOAP UI
Spark SQL
Testing
TOGAF
Research Method
Virtual Reality
Vue.js
Home
Recent Q&A
Feedback
Ask a Question
Differentiate between for loop and a while loop in C Language? What are it uses in C Language?
Home
>
C Plus Plus
>
Differentiate between for loop and a while loop in C Language? What are it uses in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
Q:
Differentiate between for loop and a while loop in C Language? What are it uses in C Language?
#c-language-loop
#c-language-while-loop
Answer
1
Answer
0
votes
answered
Mar 10, 2020
by
SakshiSharma
For executing a set of statements fixed number of times we use for loop while when the
number of iterations to be performed is not known in advance we use while loop.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance
Many hands make light work, Share it here
Facebook
Twitter
LinkedIn
Reddit
Related questions
0
votes
Q: What are the general description for loop statements and available loop types in C?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-statements
0
votes
Q: What are the uses of a pointer in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-pointer0use
0
votes
Q: What is the difference between while and do while loop? Explain with examples.
asked
Jun 9, 2020
in
C Plus Plus
by
Robindeniel
#c-loops
#c-while-loop
#c-do-loop
0
votes
Q: What are the differences between malloc () and calloc () in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-calloc
c-language-malloc
calloc-vs-malloc
malloc-vs-calloc
0
votes
Q: What are the differences between structures and arrays in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#structure-vs-array
0
votes
Q: What are the differences between structures and union in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#union-vs-structure
0
votes
Q: What is the correct code to have the following output in C using nested for loop?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-code
0
votes
Q: What is the code in a while loop that returns the output of the given code?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
0
votes
Q: Are the expressions arr and &arr same for an array of integers in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-expressions
0
votes
Q: What is a NULL Pointer in C Language? Whether it is same as an uninitialized pointer in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-null-pointer
0
votes
Q: What is a far pointer in C Language? Where we use it in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-pointer
0
votes
Q: What is the difference between Strings and Arrays in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-string-vs-array
0
votes
Q: State the difference between delete and delete[] in C Language
asked
Jun 11, 2020
in
C Plus Plus
by
Robindeniel
#delete-vs-delete
0
votes
Q: Difference between strdup and strcpy in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-strdup
#c-language-strcpy
0
votes
Q: Difference between arrays and linked list in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-array
#c-language-linked-list
0
votes
Q: Difference between pass by reference and pass by value in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-reference-variable
0
votes
Q: What are the differences between a pointer variable and a reference variable in C++?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c
0
votes
Q: What are macros in C Language? What are its advantages and disadvantages in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-macro-advantages
0
votes
Q: Why is it necessary to give the size of an array in an array declaration in C Language?
asked
Mar 17, 2020
in
C Plus Plus
by
rajeshsharma
#c-language-array-of-array
0
votes
Q: Is it possible to have negative index in an array in C Language?
asked
Mar 17, 2020
in
C Plus Plus
by
rajeshsharma
#c-language-negative-index
0
votes
Q: In C, why is the void pointer useful in C Language? When would you use it in C Language?
asked
Mar 12, 2020
in
C Plus Plus
by
rahuljain1
#c-language-void-pointer
0
votes
Q: What are the ways to a null pointer that can use in the C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-c-programming
0
votes
Q: Why are arrays usually processed with for loop?
asked
Jun 11, 2020
in
C Plus Plus
by
Robindeniel
#array-loop
#loop-processing
0
votes
Q: Can I write my own container class and use it in the for-each loop?
asked
Jan 27, 2020
in
JAVA
by
rahuljain1
#java-loop
0
votes
Q: What is a standardized memory model? And how is it going to affect C++ programming?
asked
Jan 6
in
C Plus Plus
by
GeorgeBell
c-plus-plus
+1
vote
Q: What are the differences between C and C++?
asked
May 16, 2019
in
C Plus Plus
by
tiger
c
and
0
votes
Q: What are the modifiers available in C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-modifiers
+1
vote
Q: What are the key features in the C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-key-features
0
votes
Q: What are built in functions in C Language?
asked
Mar 17, 2020
in
C Plus Plus
by
rajeshsharma
#c-language-built-in-functions
0
votes
Q: What is storage class in C Language? What are the different storage classes in C Language?
asked
Mar 10, 2020
in
C Plus Plus
by
rahuljain1
#c-language-storage-class
#c-language-classes
...