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
Is passing void as a argument to a function same as not passing any kind of arguments in C programming?
c
2 Votes
3 Réponses
28th Jun 2021, 6:05 PM
Aswin Kumar S
#include<iostream> using namespace std; void f(int n) { if (n == 1 || n == 0) return; else { cout <
c
c++
recursion
0 Vote
5 Réponses
2nd Jun 2019, 7:41 AM
Shehroz Irfan
What is that static and void required for ..can't we run with simple static or with void?
java
void
0 Vote
1 Réponse
24th Jul 2016, 9:24 AM
Suneeth
Why did not earth end on december 12?
dest
earth
null
void
0 Vote
12 Réponses
19th May 2017, 6:54 AM
Code Master
If 'void' in the code means it wont return a value, then how is "Hello World" even used? because System.out.println overides it?
java
methods
void
3 Votes
3 Réponses
1st Mar 2017, 11:58 AM
Wildman Fizat
Does all the java code have to be within public static void main(String[ ] args) { )
java
main
method
0 Vote
2 Réponses
12th Jun 2019, 9:45 PM
Shaurya Sen
As we know void doesn't returns any value to compiler. What is the meaning of 'return value to a compiler'? Why is it important?
c++
functions
1 Vote
12 Réponses
1st Dec 2016, 7:11 PM
Black Temple
What the void functions do and where can we use it? Please if you can give me some examples ..thanks🌸
c++
2 Votes
2 Réponses
3rd Jun 2018, 2:11 PM
sayed sayed
public class Program { public static void main(String[] args) { int x = 34; int y = ++x; int z = x+y
operators
1 Vote
5 Réponses
30th Oct 2019, 9:09 PM
Daniel
import java.util.Scanner; public class Program { //your code goes here public static void bot(){ Scanner sc= new Scanne
kipkiruimutai
0 Vote
3 Réponses
14th Jan 2023, 7:36 AM
KIPKIRUI Kelvin Mutai
Can i create an array that prints when called without having to do the println() method?
array
java
static
void
0 Vote
11 Réponses
26th Aug 2017, 6:48 PM
D_Stark
Is void for c++ the same as Sub for VBA Excel or procedure for Delphi/Pascal?
c++
functions
0 Vote
2 Réponses
6th Sep 2017, 10:12 PM
Jona Than
Why we use static to call the object can't we use another method.
methods
static
void
1 Vote
4 Réponses
7th Mar 2018, 12:27 PM
Ajay Verma
What is the difference between void main and int main and what is the difference when same code will excute ..
c
c++
java
5 Votes
3 Réponses
30th Apr 2017, 8:44 AM
P∆WAN M∆URY∆
What are the square brackets for? what does void mean? And please clear difference between console.writeline and console.write?
c#
output
0 Vote
4 Réponses
23rd May 2017, 1:58 PM
Jai Garg
It is assumed that the void function does not return a value, but in the following code, the sum is returned
c
c#
c++
0 Vote
4 Réponses
2nd Jul 2022, 1:02 PM
RAMADAN : رمضان
Функции С++
c++
return
void
1 Vote
1 Réponse
18th Apr 2022, 6:20 PM
deadline
public class Program { public static void main(String[] args) { int day = 5; switch(day) { case
tell
0 Vote
3 Réponses
9th Aug 2017, 11:00 AM
Ramsha Iqbal
import java.util.*; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System
java
-3 Votes
3 Réponses
14th Dec 2020, 4:56 PM
ABDULLAHI AMINU
Public static void main - what is meaning in this ,y we have to use in programs
java
0 Vote
3 Réponses
8th Jun 2017, 3:22 PM
indumohara
Which do you write first eg static int() or the entry main statement.... Public static void main....
java
methods
0 Vote
3 Réponses
8th Feb 2017, 6:03 AM
Tochukwu
Why the program doesn't have any output?
c++
function
void
0 Vote
2 Réponses
26th Nov 2022, 5:14 PM
Root
If i use int in place of void without returning any value....the code still running
c++
0 Vote
1 Réponse
4th Jul 2016, 2:46 PM
Ankit Bisht
What is the meaning of "a function which does not return a value" and " a function returns some value" ?? Please send the answer
c++
functions
main
void
3 Votes
7 Réponses
28th Jul 2017, 10:20 AM
Yasir Faiz Ahmed
public class Program { public static void main(String[] args) { int[ ][ ] sample = { {1, 2, 3}, {4, 5, 6} };
diy
0 Vote
6 Réponses
16th Jul 2020, 10:26 AM
Saurav Menon
Can anyone elaborate why do we use return 0 and void?
function
return
void
0 Vote
2 Réponses
26th May 2019, 8:19 AM
Yash Thakkar
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in) ; System.ou
java
-1 Vote
2 Réponses
13th Jun 2021, 9:38 PM
Musaif
How to validate placeholder and navigate to next page?
onclick
public
void
0 Vote
4 Réponses
2nd Jun 2017, 12:14 PM
Sravan Kumar Malyala
Java args what is this??why to use that??why use void everytime...why cant i use int or others!
android
c++
java
-1 Vote
2 Réponses
16th Feb 2019, 12:41 PM
Ferdous Rayhan
Class Output { Public static void main ( String args[]) { String str= "true false true"; boolean x= Boolean.valueOf(str); System.out.print(x); } }
java
0 Vote
5 Réponses
25th Feb 2017, 9:09 PM
bhargav
What's the problem in this if there is any error what's the error???
c
c++
void
1 Vote
2 Réponses
20th Jun 2018, 2:16 PM
Suppa Shanmana
How to go about using a calculation void function to place the values in an array?
cpp
0 Vote
2 Réponses
25th Jan 2017, 9:25 PM
Progress101
Doesn't malloc(); function return a void pointer? Then why in the malloc(); module in C, the type casting is not used?
c_language
malloc();
0 Vote
2 Réponses
19th Apr 2020, 8:09 AM
Manthan Gohel
Why does not it give compile time error when I use void as return type of the constructor ?
constructors
java
return
2 Votes
1 Réponse
5th Apr 2020, 11:21 PM
Rahul Kumar
what is output of given code void func(int x) { x+=6; } int main() { static int x; func(x); cout<<x; return 0; } // zero output explanation given below
c++
2 Votes
10 Réponses
14th Jun 2016, 11:05 AM
Dev!L
What did i get wrong? public class printx { public static void main(String[] args) { int [] array = new int [10];
java
0 Vote
4 Réponses
13th Aug 2019, 12:33 AM
DjCisse Samuel Tsok
I CANT UNDRESTAND
classes
strings
void
1 Vote
3 Réponses
16th Mar 2017, 9:10 AM
Farzad Garousi
What happens if we put only static hello() and not static void hello() in any functions?
functions
java
javascript
methods
static
void
0 Vote
1 Réponse
17th Aug 2018, 6:06 AM
Jinyoongisaranghe
public class Program { public static void main(String[] args) { int arr[]= {5 ,1, 2,3}; System.out.println(bubbleso
bubble
sorting
0 Vote
1 Réponse
16th Nov 2020, 8:56 PM
Asma Omer
public class Program { public static void main(String[] args) { int[ ] intArr = new int[5]; int[5]={1,2,3};
java
0 Vote
2 Réponses
26th Jun 2017, 7:09 PM
gobiga rani
In java why is string[] args used in here: public static void main(string[] args) ??? What if we don't use it??
java
1 Vote
2 Réponses
13th Dec 2019, 9:35 AM
Akansha Roy
what is the output of following program type def int integer # define int chat void main () { int i= 65; int *ptr = &i; int *j =
def
defi
following
int
integer#
of
output
programtype
the
whatis
-1 Vote
10 Réponses
29th Sep 2021, 6:39 AM
Abubakar Sk
Can anyone explain this why we use String a[] in public static void main (String a[])
java
0 Vote
2 Réponses
18th Jul 2017, 2:33 PM
Rajan Khorasiya
Is there a way to use void pointers to make a function that can have any structure parameters ?
c
struct
structs
0 Vote
2 Réponses
10th Jul 2020, 12:26 PM
Alan
using System; namespace Project { class MyClass { public static void Main(string[] args) { int age; string name;
c#
error
0 Vote
1 Réponse
5th Oct 2021, 10:16 AM
omitogun toni
What is the output of this code?
6;
int
is
of
output
return
static
Test(out
the
this
void
what
x
y;
y=4)
-1 Vote
38 Réponses
18th Feb 2017, 7:34 PM
Emmanuel Makonga
how this qsort working?
c
pointers
void
0 Vote
2 Réponses
21st Jun 2020, 2:52 AM
Harshit Nema
#include <stdio.h> void main() { int x = 1, z = 3; int y = x << 3; printf(" %d\n", y); }
arithmetic
c
0 Vote
3 Réponses
14th Jan 2021, 11:30 AM
yogesh
Why does main have void return type, even though there are executable statements within? Is it due to the lack of the 'return'?
methods
0 Vote
4 Réponses
20th Jan 2021, 4:16 PM
Hillary Moneke
What is the output of this code? int x = 65, *p = &x; void *q= p; char *r = q; printf("%c", *r);
c
0 Vote
3 Réponses
23rd May 2021, 6:47 AM
jayraj kharadkar
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
12
13
14
...
17
Suivant >
Aujourd'hui en vedette
Void functional void with bool function
0 Votes
Python
2 Votes
Are websites hackable?
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes