Question: Write the hello world program . . . Without using any semi-colon's ";" ?
Answer:
#include <stdio.h>
void main()
{
if(printf("Hello World")) { }
}
Answer:
#include <stdio.h>
void main()
{
if(printf("Hello World")) { }
}
Sometimes, you need to fill an application form, but the size of your image is
too large, as per the mentioned size on the application. So, you can use imagemagick
utility of ubuntu, and get the desired size for your image.
To reduce the image size, you can run either of the below command.
$ convert -resize 50% source.png dest.jpg and
$ convert -resize 1024X768 source.png dest.jpg
exec 3< thisfile # open "thisfile" for reading on file descriptor 3
exec 4> thatfile # open "thatfile" for writing on file descriptor 4
exec 8<> tother # open "tother" for reading and writing on fd 8
exec 6>> other # open "other" for appending on file descriptor 6
exec 5<&0 # copy read file descriptor 0 onto file descriptor 5
exec 7>&4 # copy write file descriptor 4 onto 7
exec 3<&- # close the read file descriptor 3
exec 6>&- # close the write file descriptor 6
read <&3
echo stuff >&4
Source: Stackoverflow.com