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:


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.


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
Describe briefly how you might program a computer to exhibit fear or sorrow.

System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes.  All calculations should be done in a method.  Note:  To use J

OOPS Concepts Object-oriented programming (OOP) is a computer science term used to characterize a programming language that began development in the 1960’s. The term ‘object-orient

Windows XP using C# load a binary file and send it thru a USB port to the USB port of STM32. STM32 received the file and then write it into an I2C EEPROM.

Play is as follows: 1.) Player places a bet a. Bet is on one of three choice i. "Player" will win ii. "Banker" will win iii. Tie between the "Player" and the "Banker

Define Functions with no arguments and no return values? When a function has no arguments it doesn't receive any data from the calling function. Likewise, it doesn't return any

Characteristics of object-oriented programming: •   Emphasis is on data rather than procedure. •   Programs are divided into what are known as objects. •

How to do socket programming in C

specify the function of the instruction and also specify whether its right or wrong-: (5) 1) MOV [BX],AX? Register Indirect addressing 2) MOV CX,[BX+DI]?Base plus index add

Companies divide their subtasks of game's development. For large complex games, the development team can vary in size from 20 to 100 or more members. The most represented are artis