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
Why no Audible support for Linux? Maybe they should use a browser interface?

For this programming assignment, you are to develop a Fortran 90/95/2003 program to automate a useful task. The aim of the assignment is for you to reveal your competence in the Fo

Ask question #Minimum 100 A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets

explain steps of program execution in language processors

Board Coloring Problem Description In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color.

I need help with having a user input a year, and my program to spit out what day of the week Christmas is on.... any helping hands on this?

Shemrock Inc. is a brake pad manufacturing company. This company uses raw materials, such as carbon powder, iron, ash, and resin. It wants to develop an inventory management system

Suppose L is a context-free language and L' is regular. Show that L∩ L' is a context- free language. Specifically, if you're given a PDA diagram of L and a DFA diagram for L' , des

1. Write out a detailed plan for a program to find the largest value in an array that is smaller than a ceiling C. For example, suppose the array has the values {4, 14, 11, 100, 6}

Does anyone know anything about java programming here?