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

2mo 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 The Dreaming Void have?

The Dreaming Void has 656 pages.


How many pages does Void Moon have?

Void Moon has 407 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]+" "); } } }}

Trending Questions
What development occured as a result of software being identified as a key driver of both systems performance and reliability? How many pounds and ounces is 173 ounces? How do you write over a picture on Paint on your computer? Company or people responsible for the Adobe Photoshop? You downloaded a file on Mozilla Firefox and then accidentally cleared your downloadsand you deleted them in my documents also how can you get this download back? When you sort a row in Word 2013 you arrange the rows based on what? What were Hernando de Soto's achievements? Is there any way to copy Windows from a computer onto a CD My dads computer came with Windows on it but no CD was included. I on the otherhand don't have a Windows CD and need one.Thanks in advance? What is the Alexandrite laser? When was the first terabyte hard drive released for public consumers? How to get the volume icon back at the bottem right side of the computer screen by make it louder in the speakers after already maximizing the volume in windows media player? Does an external hard drive require constant power? Is geforce en 9400 gt compatible on your msi 945p neo3 motherboard? Is deleting cells the same as clearing cells? What are peripheral devices and list them? What is full form of yum? When did The Super Dimension Fortress Macross - Family Computer - happen? Does Skype use your actual phone number or a made up one? What are the three tools for a hard drive? What is the mnemonic device for remembering the 7 most common coordinating conjunctions?