24.03.2015 Views

c_ders_notlari

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

using namespace std;<br />

int f(int x,int y) return x+y; //{return x+y;}olmalıydı<br />

void main()<br />

{f(2,3);}<br />

//doğrusu<br />

#include<br />

using namespace std;<br />

int f(int x,int y) {return x+y;}<br />

void main()<br />

{f(2,3);} //program çalışır ama ekrana birşey yazdırmaz.<br />

#include<br />

using namespace std;<br />

int f(int x,int y) {return x+y;}<br />

void main()<br />

{int a,b; coutb;} //hatalı<br />

#include<br />

using namespace std;<br />

int f(int x,int y) {return x+y;}<br />

void main()<br />

{int a,b; cin>>a>>b; coutb; coutb; coutb; cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!