Search
 
SCRIPT & CODE EXAMPLE
 

CPP

how to make a goto area in c++

	
//based on syntax 1
#include<iostream>
using namespace std;
// function to check greater number
void checkGreater()
{
int i, j;
i=2;j=5;
if(i>j)
goto iGreater;
else
goto jGreater;
iGreater:
cout<<i<<" is greater";
return;
jGreater:
cout<<j<<" is greater";
}
// main method to test above function
int main()
{
checkGreater();
return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: QMetaObject_invokeMethod 
Cpp :: Processing a string- CodeChef Solution in CPP 
Cpp :: user inptu in cpp 
Cpp :: dijkstra algorithm in c++ geeksforgeeks 
Cpp :: patterns in c++ 
Cpp :: c++ arreglo/array 
Cpp :: c++ to c converter online free 
Cpp :: beecrowd problem 1001 solution 
Cpp :: c++ struktura kolejki 
Cpp :: c++ max function 
Cpp :: c++ install 
Cpp :: search in vector of pairs c++ 
Cpp :: palindrome no example 
Cpp :: modify value in map c++ 
Cpp :: string to wstring conversion c++ 
Cpp :: bus ticket booking online pakistan 
Cpp :: cpp hello world 
Cpp :: do while loop c++ 
C :: pi in c language 
C :: arduino wifi ip address to string 
C :: c program hide console window 
C :: express.static public 
C :: printf fill with 0 
C :: how to declare a integer list on c 
C :: que es % en c 
C :: string if statements c 
C :: get range of values in mongodb 
C :: vbnet create and write on file 
C :: bash while loop n times 
C :: casting an int to a char in c 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =