Explain the comma operator- computer programming, Programming Languages

Explain the Comma Operator- Computer Programming?

The comma has two utilization and the most common use is as a parameter separator for data types and function parameter lists. Here is an instance:

            main()

{
Char String1[20], String2[]="Outback Pub"; /* data types */

strncpy(String1, string2, 7);

}

The other utilize is as a series operator which can be seen in use with the for keyword an instance of the syntax is shown below.

for(i=0;i{
for(j=0;j<=n;j++)
{
sum=sum+i;
}
}

Posted Date: 6/11/2013 5:46:26 AM | Location : United States







Related Discussions:- Explain the comma operator- computer programming, Assignment Help, Ask Question on Explain the comma operator- computer programming, Get Answer, Expert's Help, Explain the comma operator- computer programming Discussions

Write discussion on Explain the comma operator- computer programming
Your posts are moderated
Related Questions
One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program tha

Calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from components available on the internet. Before attempting this exer

As an XML expert you are required to model a system for an online bookshop. After an interview with the shop manager you have the following information: The detail of th

i need help

Of the 6,325 kindergarten students who participated in the study, almost half or 3,052 were eligible for a free lunch program. The categorical variable sesk (1 == free lunch, 2 = n

A string s is said to be periodic with a period α, if s is α k for some k > 2. (Note that α k is the string formed by concatenating k times.) A DNA sequence s is called a tande

Write a script called 'prob3.m' that does the same thing as the previous question except that it makes use of a switch-case construct instead of an if-else. In the file 'hw4.m'

Using OOP,write a sample program to get the factorial of a number entered by a user

What is URL describe theri protocol? URL basicallt stands for uniform resource locator. A URL is a pointer to a particular resource on the Internet at a particular location.

I have to create a bank atm machine using MS-DOS. I am struggling to create LIST ALL ACCOUNTS ROLL-BACK TRANSACTIONS ACCESS AN ACCOUNT