Exforsys
+ Reply to Thread
Results 1 to 2 of 2

To get Output

This is a discussion on To get Output within the C and C++ forums, part of the Programming Talk category; I want to get output in my C programming as "Exforsys Training" without using semicolon as terminator for this output ...

  1. #1
    Rahulbatra is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    To get Output

    I want to get output in my C programming as
    "Exforsys Training"
    without using semicolon as terminator for this output statement. How can I do this?


  2. #2
    rachelle is offline Member Array
    Join Date
    Apr 2006
    Answers
    97
    There are various ways of achieving this interesting solution.
    I have given below one method. You can code as
    #include <stdio.h>
    int main(int a, char *e[])
    {
    if(puts(e[1]))
    {}
    }

    You can execute this file of the program in your command line and give your input and get the output as Exforsys Training


Latest Article

Network Security Risk Assessment and Measurement

Read More...