C Programming Garbage Collection examples

#include<stdio.h>
#include<conio.h>
main()
{
printf("%d",printf("CQUESTIONBANK"));
getch();
}
 

OUTPUT: Check the output on your compiler.
 

So, there are many garbage collection program in C and C++ programming language.
 
Try out one more program :-
 
main()
{
short int a=5;
printf("%d"+1,a);
getch();
}
 
OUTPUT: On Terbo 6, 51, d, compiler error etc. and on developer only d will be printed. Try on your compiler.

Comments

Popular posts from this blog

Customize User's Profile in ASP.NET Identity System

Migrating database from ASP.NET Identity to ASP.NET Core Identity