Author Topic: C programming problems  (Read 4134 times)

0 Members and 1 Guest are viewing this topic.

Offline Sam

  • I am what I am
  • Universal Moderator
  • Super Member
  • *
  • Points: 2627
  • Posts: 1316
  • I am what I am

    • NIEC
    • _
      CSE
    • View Profile
    • TheGeekyWay- Free tutorials on Programming, WebDevelopment, Electronics, Linux etc.
Re: C programming problems
« Reply #15 on: May 17, 2015, 04:43:11 pm »
Return statement for main depends on compiler
if your using gcc compiler then no matter whether you have written return statement or not
the compiler will implicitly return 0 for successful execution


return 1 or return 0 only tell the value which the main function is returning

You should always return value when you have a function with return type other than void.

Good habits always help :)

Offline Dar3deviL

  • Moderator
  • Super Member
  • *
  • Points: 2222
  • Posts: 1024

    • NIEC
    • _
      ECE
    • View Profile
Re: C programming problems
« Reply #16 on: July 26, 2015, 05:53:38 pm »
Best online lectures for c programming  :why

 

DIRECT X game programming

Started by sarthak9333

Replies: 1
Views: 1357
Last post December 05, 2012, 03:06:32 pm
by SagarDabas
Programming Challenge!!!!

Started by kurosaki

Replies: 173
Views: 57194
Last post November 28, 2016, 11:42:01 pm
by swapnil7
improve your programming...!!!

Started by ab2757

Replies: 14
Views: 5738
Last post August 27, 2013, 08:14:34 pm
by cool98765
programming is frustrating!!

Started by slimshady

Replies: 6
Views: 2991
Last post January 22, 2010, 08:11:14 pm
by ANKITSINGHAL
regarding java programming

Started by Ratika

Replies: 4
Views: 2722
Last post May 14, 2015, 07:17:38 pm
by sagrma
Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49