Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
import java.util.*; class Program { public static void main(String[] args) { int ch; float usd,inr;
java
0 Vote
5 Réponses
28th Jun 2017, 2:17 PM
Rajan Khorasiya
what is the situation to use void? can we replace void with int ?
c++
functions
1 Vote
3 Réponses
9th Dec 2016, 9:41 AM
sandeep varma yavanamanda
In this program , why there is need to write Void before bark() method
classes
java
objects
0 Vote
2 Réponses
8th Sep 2019, 12:22 PM
Rupal Raut
Error: Main method not found in class Pozycja, please define the main method as: public static void main(String[] args) or a
java
0 Vote
11 Réponses
5th Jan 2020, 9:34 PM
Ivan
Hi , this is teja.. Do we can use void main () in C++??
c++
1 Vote
3 Réponses
19th Jun 2017, 12:56 PM
dharma
Why can't we use void main insted of int main as taught in our school
c++
0 Vote
5 Réponses
5th Oct 2016, 1:36 AM
Vibhu
Why we use int main( ) in some program s in place of void main?
c
language
0 Vote
3 Réponses
27th Oct 2019, 6:15 PM
Sunny Aitha
Is main func can be used as recursive function ?
main
void
0 Vote
4 Réponses
7th Jun 2017, 7:07 PM
Dharshan Kumar
Why do we use static keyword in the line public static void main(string args[])
java
1 Vote
3 Réponses
3rd Sep 2016, 12:21 PM
Shubham Jain
What is delegates in c#?
delegate
void
0 Vote
2 Réponses
26th Sep 2019, 10:30 AM
Vardan Davtyan
int in C and in Java Is Void Both are variable are same ?? Na??
c
java
0 Vote
5 Réponses
24th Sep 2017, 9:04 AM
prashant vyas
public class Hello World { public static void main(String [ ] args ) } { System.out.println ("Hello World");
help
2 Votes
8 Réponses
21st Jan 2018, 5:15 PM
PRASHANT Mishra
What is return value in java ?
java
methods
return
void
0 Vote
25 Réponses
19th Nov 2017, 6:09 PM
ajmal yousuf
public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);
q
1 Vote
2 Réponses
30th Dec 2019, 4:26 PM
BAYODE BLESSING AKINBOLA
public class Program { public static void main(String[] args) { int a=5; int b=2; int f=+a+b; System.out.pri
java
0 Vote
3 Réponses
7th Apr 2019, 7:51 AM
Vignesh R
Whats wrong with void return type function for creating a main function
c++
0 Vote
2 Réponses
9th Apr 2017, 8:35 AM
Mohd Thanveer Mk
Write a program in java whereas no is even or odd and print only third even no.from 1 to 20 counting of number
main
void
-5 Votes
4 Réponses
10th Jul 2019, 7:50 PM
DOLAT RATHORE
Why we cannot use voide at place of int in c++language
c++
in
void
0 Vote
11 Réponses
13th Jan 2018, 5:12 PM
ratnaprabha purandare
How I can in one method 《public void 》convert binary to decimal easy way in Java for beginners?
binarytodecimal
convertbinarytodecimal
javabeginners
javaconvertmachine
0 Vote
2 Réponses
16th Jan 2020, 7:49 PM
Mika Timur
Write a program desimal no. To binary code I need help
main
void
1 Vote
1 Réponse
4th Sep 2023, 7:54 AM
Jitendra Sharma
can u write a c++ program in all caps? like :#INCLUDE<IOSTREAM. H> VOID MAIN() { COUT<<"CHALLENGE";}
c++
1 Vote
5 Réponses
24th Mar 2017, 6:08 AM
Vishvambar Panth
Void doesn't return a value for a function. Then where does the need of such functions come that doesn't return a value?
c++
functions
void
4 Votes
7 Réponses
18th Oct 2016, 2:05 PM
Jaya
public class Program { public static void main(String[] args) { float a =10.2; float b=5.3; float c=a%b;
java
0 Vote
4 Réponses
25th May 2020, 1:13 PM
Harsh Vyas
class MyClass { public static void main(String[ ] args) { System.out.println("Hello World"); } }
i
-1 Vote
3 Réponses
23rd Jan 2021, 1:25 PM
Harsh Verma
Why can't I return a void value in c++? Is it compulsory to return int value everytime?
c++
if-statements
3 Votes
5 Réponses
13th Oct 2017, 3:20 PM
Manikanta
For f(3,6) What is void doing here I thought the correct answer 31 but the answer is wrong
.
1 Vote
6 Réponses
3rd Apr 2020, 11:48 AM
Mohamad Alkaleeh
What are objects,classes,instances,and methods in java and how do they relate? What is static void new and args?
args
classes
instance
java
methods
new
objects
static
void
2 Votes
7 Réponses
24th Nov 2017, 3:33 PM
Unidentified
Час в минуты
hours
main
void
1 Vote
4 Réponses
13th Jul 2021, 6:39 AM
Irina Vasilieva
What is the output of this code? static int Test(out int x, int y=4) { x = 6; return x * y; } static void Main(string[] args
code?
int
is
of
output
static
test(out
the
this
what
0 Vote
2 Réponses
19th Sep 2018, 1:39 AM
Lavetta Lewis
When we should use void main() and when to use int main()..!
1 Vote
1 Réponse
24th Nov 2016, 2:35 PM
Tanu Purohit
Give the ouput and explain #include<iostream.h> void main() { int a =32, *ptr=&a; char ch='A' , &cho=ch; cho+=a; *ptr+=ch; cout<<a<<" "<<ch<<endl; }
c++
cout
void
2 Votes
5 Réponses
18th Jul 2016, 12:47 PM
Mahima Rajvir Singh
When to use 'void main ()' and when to use 'int main ()' in C language ? Will anyone help me by posting examples, please.
c
int
main
preprocessor
void
26 Votes
10 Réponses
1st Aug 2017, 5:21 PM
Tanweer Ashif
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner
java#coder
1 Vote
3 Réponses
27th Jan 2022, 2:35 PM
Hirdesh Prajapati
How to concatenate string and void in C# ? The main problem is in the last line of code .
asp.netmvc
c#
0 Vote
8 Réponses
14th Jul 2022, 7:06 PM
Mustafa Azzoz
What can I fill here class MyClass { public static void main(String[ ] args) { System.out.println("Hello World");
java
2 Votes
5 Réponses
14th Jan 2018, 4:21 PM
Sharoj yadav
What is "void main"
main
void
0 Vote
3 Réponses
10th Nov 2016, 2:57 PM
suman sharma
public class IfClass { public static void main(String[] args) { int noOfPetals = 5; if (noOfPetals % 2 ==
java
1 Vote
4 Réponses
24th Jul 2020, 4:54 AM
Gautam Patel
Hi guys! Whats the difference btwn void and int? This two stuffs complicate my brain
c++
java
1 Vote
2 Réponses
23rd May 2018, 10:14 PM
Ahmad Mustapha Sadauki
public class Program { public static void main(String[] args) { int x[]={110,20,30,40,50,70}; int y[]; y=x;
operands
0 Vote
1 Réponse
27th Sep 2019, 3:24 PM
Anuj Patel
class Parent { public static void show(){ System.out.println("parent class"); } } class Child extends Parent {
java
0 Vote
2 Réponses
25th Apr 2018, 5:11 PM
pankaj
import java.util.*; public class Program { public static void main(String[] args) { Scanner sc=new Scanner(Syst
.
0 Vote
2 Réponses
14th Sep 2022, 3:32 PM
A.T.U .L.
What is the meaning of void? Where and when we will use void in #c?
c#
output
void
1 Vote
3 Réponses
4th Apr 2017, 3:46 PM
Haziq Zabridin
Can we reassign the variable values in main() function by using the user defined function (return type || void )? In C
c
doubt
in
2 Votes
9 Réponses
17th Oct 2020, 6:47 AM
Yogeshwaran P
Why is the void data type used for the function if the output is a string?
c++
constants
0 Vote
5 Réponses
2nd Aug 2016, 3:42 AM
Ian Dillon
Can someone tell me why it using int factorial.. And not using void factorial?
c++
recursion
0 Vote
3 Réponses
13th Oct 2016, 4:29 AM
Seinsora x
Is it possible to cast a void pointer to the type of its content?
c++
cast
pointer
void
0 Vote
1 Réponse
24th May 2020, 8:06 PM
Mustafa K.
Shouldnt the name in the void function somehow be initialized as a string type?
c++
encapsulation
0 Vote
3 Réponses
23rd Feb 2017, 10:27 PM
Dino Luinovic
why is static keyword used to describe main method??that is public STATIC void main()..
java
0 Vote
3 Réponses
8th Jul 2016, 4:42 PM
K.p.
Can we start program without #include..etc
c++
main
void
0 Vote
9 Réponses
15th Feb 2018, 7:12 PM
rajesh
Make a square() function to multiply floats
c
void
0 Vote
2 Réponses
22nd Apr 2020, 5:46 PM
Abdelkarim MESKAOUI
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
10
11
12
...
17
Suivant >
Aujourd'hui en vedette
How to improve code readability
0 Votes
App
1 Votes
I NEED to make a game
0 Votes
Regarding course
0 Votes
Solved Grouping data
0 Votes
In this code, I want to make exactly another div right next to it in div, how to edit it?
1 Votes
Python input() function is strange (a bug or a feature?)
1 Votes
Chess Tournament Exercise Doesn’t Work
0 Votes
Please how can I learn dart language here
0 Votes
Android
0 Votes