answersLogoWhite

0

In C, the void type itself does not take up any bytes because it represents the absence of a value or type. However, when used as a pointer (void*), it typically takes up 4 bytes on a 32-bit system and 8 bytes on a 64-bit system, as it must be able to store a memory address. The size can vary depending on the architecture of the system.

User Avatar

AnswerBot

2w ago

What else can I help you with?

Related Questions

Can you take return type in void?

a void has no return statement. If that is what ur asking


Write a program in java to print a ab ABC?

/* -----a //- is space * -----ab * ----abc * --abcd * -abcde */ import java.io.*; class RevPyrA { protected static void man()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the limit: "); byte a=Byte.parseByte(in.readLine()); for(byte i=0;i<a;i++) { System.out.println(); for(byte j=a;j>i;j--) System.out.print(" "); for(byte j=0;j<=i;j++) System.out.print((char)(97+j)); } }}


How many pages does Void Moon have?

Void Moon has 407 pages.


How many pages does The Dreaming Void have?

The Dreaming Void has 656 pages.


How do you program C keyboard output to kind of press the keys for you?

The answer to this will be platform and implementation dependent. For Windows machines, look into the keybd_event function: VOID keybd_event( BYTE bVk, // virtual key code BYTE bScan, // hardware scan code DWORD dwFlags, // special flags PTR dwExtraInfo // whether the key is pressed or released );


Write a program in java to print average no of alphabets present in each word?

import java.io.*; class AvgWordSent { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the Sentence: "); String s=in.readLine(); byte a=0,b=0; float c=0; for(byte i=0;i<s.length();i++) { if(s.charAt(i)==' ') a++; } String w[]=new String[a+1]; for(byte i=0;i<=a;i++) w[i]=""; for(byte i=0;i<s.length();i++) { if(s.charAt(i)==' ') { b++; continue; } w[b]+=s.charAt(i); } b++; for(byte i=0;i<=a;i++) c+=w[i].length(); System.out.print("Average no. of words= "+(c/b)); } }


How do you void a receipt from a Restaurant cash register?

You have to take a dump!


How many pages are there in touching the void?

172


Write a program in java to print a statement in reverse order?

/* Input: Do Your Duty * Output: Duty Your Do */ import java.io.*; class RevSent { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the Sentence: "); String s=in.readLine(); char ch; short a=0,b=0; for(short i=0;i<s.length();i++) { ch=s.charAt(i); if(ch==' ') a++; } String w[]=new String[a+1]; for(short i=0;i<=a;i++) w[i]=""; for(short i=0;i<s.length();i++) { ch=s.charAt(i); if(ch==' ') b++; else w[b]+=ch; } for(short i=a;i>=0;i--) System.out.print(w[i]+" "); }}


A program using one-dimensional array that determines the lowest value among the five inputs values typed from the keyboard and prints the difference of each value from the lowest?

import java.io.*; class sing { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); int a[]=new int[5]; for(byte i=0;i<5;i++) { System.out.print("Enter the value of "+i+" : "); a[i]=Integer.parseInt(in.readLine()); } byte b=0; for(byte i=0;i<5;i++) { if(b>a[i]) b=a[i]; } }}


How do you get void armor in runescape?

You can get void armour in runescape by playing the mini game called "Pest Control" WARNING This may take some time to obtain.


Write a java program to find addition of two matricess?

import java.io.*; class mat { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader()); int a[][]=new int[10][10]; int b[][]=new int[10][10]; int c[][]=new int[10][10]; for(byte i=0;i<10;i++) { for(byte j=0;j<10;j++) { System.out.print("Enter the value of a[ "+i+" ][ "+j+"]: "); a[i][j]=Integer.parseInt(in.readLine()); } } for(byte i=0;i<10;i++) { for(byte j=0;j<10;j++) { System.out.print("Enter the value of b["+i+" ][ "+j+" ]: "); b[i][j]=Integer.parseInt(in.readLine()); c[i][j]=a[i][j]+b[i][j]; } } for(byte i=0;i<10;i++) { System.out.println(); for(byte j=0;j<10;j++) { System.out.print(c[i][j]+" "); } } }}