Latest Post

Ads

C Program: Show Address of Variable using Pointers


#include<stdio.h>
#include<conio.h>
void main()
{
int a=12;
float b=24.25;
char c='a';
clrscr();
printf("\n Address of A : %u",&a);
printf("\n Address of B : %u",&b);
printf("\n Address of C : %u",&c);
getch();
}

Output:
Address of A : 65524
Address of B : 65520
Address of C : 65519



C Programs:
------------------------
|  Basic Programs  
|  Loop Programs  
|  Matrix Programs  
|  Array Programs  
|  String Programs  
|  File Handling  
|  Other Programs  
|  Graphics in C   
|  Pattern Programs
------------------------

Ads

Popular posts from this blog

VLSI: BCD to Excess 3 and Excess 3 to BCD Dataflow Modelling

Full Subtractor Verilog Code in Structural/Gate Level Modelling with Testbench

VLSI: 1-4 DEMUX (Demultiplexer) Dataflow Modelling with Testbench

VLSI: 4-1 MUX Dataflow Modelling with Testbench

VLSI: Half Subtractor and Full Subtractor Gate Level Modelling