What Is A Sample Objective Statement For A Programmer
What Is A Sample Objective Statement For A Programmer
Objective: I like making robust, user-friendly software that helps desktop computer users get
their work done faster and easier. ...
When the trust relationship between a workstation and domain has broken down how can
you fix it?
When you try to log-on or connect to a computer and you receive an error stating: "the trust
relationship between this...
How do you convert a .doc file into a .pdf file using VB code?
Steps: While converting Doc file to PDF it loses all hyperlinks during conversion..although there
is a solution to this also...
A device driver creates a layer of abstraction between the hardware and the operating system.
They were created by programmers...
Fortran is a programming language, which means you write a program in Fortran, and
COMPILE it to an EXECUTABLE program. The...
ABC Ada Algol 60 Algol 68 APL Arc Assembly Awk BASIC Batch BCPL Befunge BETA C
C++ C-- CHILL Clipper Cobol CobolScript Component...
How can you tell whether a given file is a directory and how can you list all files in a
directory including subfolders?
In a programming context, one usually determines whether a file is a directory using functions
that access file metadata. These...
Free-lance programmers might charge anywhere between $20 or $30 an hour to $200 or
$300/hour. It depends on their experience, the...
Bandwidth is defined as the frequency range that the circuit, component, cable, or complete
system can pass where the frequencies...
What is an upcall?
The term upcall is typically used in the context of using a framework, such as CORBA. When a
request is sent from a client...
TRUNCATE and DELETE: It also removes the rows from the specified location in the query
like DELETE command, but the only...
What is difference between encapsulation and abstraction and how are they related to each
other?
Encapsulation is hiding the details of the implementation of an object so that there are no
dependancies on the particular...
Most programmers would probably say no. Many programmers only have high school degrees or
some technical training. Programming is...
How do you write a header for a 128x128x128 dds volume texture file with no mipmaps
and does it have to be written in binary?
According to the documentation on MSDN, the following code should create an uncompressed
volume texture DDS file that's 32x32x32...
In artificial intelligence testing when three bits are asked when are they One?
Popularity: 93 • Tools: Recategorize • Needs Answer
Introduction to DLLs......DLLS as the name suggests are the Dynamic Linked Libraries, majorly
comprises of the Classes (inclusive...
Popularity: 93 • Tools: Recategorize
Cobol, Fortran, Basic, ALGOL, Pascal, Aida, C, C++, Java, Python, Pearl Are some, but for a
full list look in the related links...
You would have to be logged in as the administrator. ANSWER It depends on your operating
system. A kernel is basicaly a line of...
What is the difference between catch exception e catch error err and catch throwable t?
In Java it is related to the class hierarchy of exceptions. Throwable is the root object of the
heirarchy, and both Exception...
Just as a person requires knowledge of the syntax (structure) and semantics (meaning) of a
spoken language, so too does the...
Why do you use an interface for implementing methods Isn't it just extra work?
By creating an interface, the programmer creates a method to handle objects that implement it in
a generic way. An example of...
In Java, if there is a run-time error then it allows the user to explicitly handle it by catching it in
the catch block. If there...
How can you disable the save a copy button in pdf files in code?
I think that's a feature of the full Adobe Acrobat. You can set security options for the PDFs you
produce with that...
.src is mostly an arbitrarily used extension which in most cases aren't associated with any
specific program. Mostly it stands...
How can you convert a flash file into a Windows screen saver?
You can convert Shockwave Flash (*.swf) files into Screen Saver files (*.scr) using a program
like InstantStorm, see the related...
What is Delphi?
AnswerDelphi is the name of the commercial Integrated Development Environment (IDE) for
RAD created by Borland (see...
When a derived class object is deleted which gets deleted first - the base class object or the
derived class object?
When there is no further use of derived class obect in execution sequence then It gets deleted.
calling of distructor sequence...
What are the four distinct reasons when new processes might be created?
1 reasons for creating multiple processes is 1- If in an application there are various independent
major operations, we can...
Popularity: 85 • Tools: Recategorize
What would be the benefits of using a time-sharing system rather than a PC or single-user
workstation?
The benefits to this are the same as you are using right now reading this page. A time-sharing
system (what we call a server...
VB often refers to Visual Basic, so I am not sure what 'business" you are referring to.
First, lets speak about the scope of a variable. The scope of a variable is the section of the
application that can see and...
I am a major Athlon fan, every computer i've every purchased on my own has ran athlon, or
duron, thunderbird, or anything but...
fork() is a concept that originated in the UNIX world. Running programs are called processes,
and the only way to execute a...
1.Get a picture and put it on your site. 2.Hold the arrow that diagonal and shape it whichever
way you want. 3.If some don't do...
Internet comes from "Inter-Network" which is simply the description applied to several
"computer networks" linked together....
AnswerFunction Pointers are basically used when we want to select a function which is to be
used dynamically at run...
What is the floating point unit used for on the processor system?
"Floating Point" refers to the decimal point. Since there can be any number of digits before and
after the decimal, the point...
This is such an incredibly vague question. How do you want to use them? In C Programming?
perl? python? at the command-line?...
Dynamic references are constructed on the fly as a result of calling various methods, such as
System.Reflection.Assembly.Load....
That depends on your situation. If you have a Unicode-encoded file that you wish to read, you
can try to open it with a...
Macros, which are special lines/fragments of code, differ from any other code written in the
source files in the aspect that it's...
What are the main steps involved in the waterfall model of information systems
development?
The Waterfall Model: A classic SDLC model, with a linear and sequential method that has goals
for each development phase. The...
give print then select print to file give the file name that file may prn file by
In class default members are private and in structure default members are public ,When ever you
want to hide data from outside...
In Solaris, you need to disconnect your program from your "terminal" ( scripts generally inherit
the stdin, stdout, and stderr of...
include <stdlib.h> int **array1 = malloc(nrows * sizeof(int *));for(i = 0; i < nrows; i++)array1[i]
= malloc(ncolumns *...
Vague question, but if you are talking about a database field, the simple way is to create a unique
index on the field (if the...
Why should main be declared static and is declaring it public and void not sufficient?
The static modifier means that it does not have to be instantiated to use it. Before a program runs
there are technically no...
Relational Database Management System. A type of DBMS in which the database is organized
and accessed according to the...
What is the difference between procedure oriented language and object oriented language
in computer?
Object Orientation [OO], in general, is a methodology for modeling the real world or at least the
problem being solved, by...
Multitasking is a method for multiple tasks to share a single resource, like a CPU. This is usually
accomplished in software via...
What is debugging?
In computer language, debugging is finding and removing "bugs" which cause the program to
respond in a way that is not intended.
Often an application needs additional memory for the temporary storage of data. For example,
the C programming language allows...
RTOS(Real Time Operating System) can execute multiple programs concurrently. At any time
there may be tens of programs...
No .... Whats the point of declaring destructor as a private when it is supposed to be designed to
free the memory after...
CMM expands to Capability Maturity Model. A rating of 1 (lowest) to 5 (highest) is given that
rates the maturity of software...
Computer Programming is a way of creating new programs. There are different languages which
can be sorted into two different...
We can divide filters two types based on the length of the impulse resopnse 1. FIR where the
impulse responce is finite 2....
In computer science, there are several precise meanings of static variable, depending upon the
use and context. In all cases,...
What is encapsulation?
(1) In programming, the process of combining elements to create a new entity. For example, a
procedure is a type of encapsulation...
An application is code that is written and then compiled into an executable. A project on the
other hand may be considered as as...
What should be given at in if printf hello else world to get the output helloworld that is to
make both the statements in ifelse clause to execute what should be given in if clause?
main() { if( !fork() ) printf("Hello"); else printf("World"); } This works fine. if...
A common misconception about and misuse of the static qualifier is: A static variable is program
variable that does not...
What is the maximum amount of memory any single process on Windows can address and
is this different from the maximum virtual memory for the system?
Processes access virtual memory space, not physical memory. Applications never access RAM
directly but only through the memory...
Programming languages store data in different data types. A zero value would belong to a
numeric data type such as float, single,...
Flipping the bozo bit means you know someone is reliably wrong. The person has been
permanently switched off in your mind as...
1)Synchronization: Vector is synchronized and arraylist are not. 2)Increment size: Vector can
increment the size by...
Thread synchronization requires that a running thread gain a "lock" on an object before it can
access it. The thread will wait...
Boolean operators are used in programming. It would be hard for me to explain exactly how they
are used in programming without...
Popularity: 53 • Tools: Recategorize
All the methods declared inside an Interface are abstract. Where as abstract class must have at
least one abstract method and...
If you have a computer game code how do you use it as an actual computer game?
If you have the SOURCE CODE for the game and the complete source code, you need to figure
out which programming language it is in...
Its very Simple that using Enumerated data type you are making special integers that flow within
range, While a typedef is...
Of course. It would be no problem at all for the average college student studying information
technology. Of course it would be...
A data item (or variable) is described as a "string" type when it contains some number of
characters. Those characters can...
How do you explain what near far and huge pointers are to a beginner?
If you're a beginner you don't need to worry about near and far pointers. They are a concept that
have been obsoleted on most...
How can you start the program 'read in the lengths of the sides of a triangle and determine
whether the triangle is an isosceles triangle two sides are equal an equilateral triangle three
sides are'?
This would depend on what programming language you wanted to write it in. For example, in
Pascal, the code might look like this: ...
Can you specify variable field width in a scanf format string If possible how?
You can't specify a variable field with a fixed format string, but you can get around this by
making the format string...
I assume were talking Dot Net Querystring is derved from the URL Example: this.com?
id=123&subject=this id and subject...
First, you have to have a way for your PC to capture the Radio signal, such as a card or USB
device built especially for that...
Basically multi-tasking is related with the OS & hyper-threading with the processors. Multi-
tasking means running several tasks...
What is the difference between static global and local global variable?
From Java point of view, static global class members are shared among all class instances and
can be accessed from any class...
The question posed is a bit difficult to answer as there are no context specific clues (are we
talking C/C++ here, or something...
Real time processing In a real time processing, there is a continual input, process and output of
data. Data has to be processed...
What is the maximum size of memory available for dynamic memory allocation?
The maximum memory that can be dynamically allocated depends on the size of the heap
memory. Dynamic blocks of memory can be...
Time sharing is a way of sharing out computer facilities between a number of people who want
to use the computer at the same...
What are the softwares or languages that i should learn along with software testing tools
like QTP to become a good software testing engineer?
The fact is that there is no END to learning software testing. however you can be proficient and
in great demand if u have these...
How do you fix your computer screen when there is about 1 inch or less of black space on
the ends where the screen should be stretched out more?
You will need to initiate the menu function of the monitor itself. This varies from montior to
monitor, but try pressing the...
Procedural languages are used in the traditional programming that is based on algorithms or a
logical step-by-step process for...
How do you inherit private member of a base class in derived class through inheritance?
You can't. But you can do something similar by making the private members in the base class
protected as opposed to private. This...
How do you create a browser based instant messenger without knowing any programming
language?
You don't. It's not possible. Learn Visual Basic. It's not nearly as hard as most people expect it to
be. The Meebo...
How can you add a computer program that has a timer to cut off in 45 days it you have
received payment for the program you designed for sale?
Well, there is one cheap way of doing that is no one had ever thought of. hahhha. If you are
using Windows XP, use your program...
How do you construct a series of dds 2D images and construct it into a 3D texture?
Popularity: 40 • Tools: Recategorize • Needs Answer
Macintosh is a line of computers built by Apple, Inc. IBM is a major IT company, involved in
many computer-related fields,...
What are the differences between object-oriented programming languages and generation
1-4 programming languages How are they similair?
Object oriented computer programming and design methodology has become popular as a way
of modeling and solving many programming...
Identify the problem. Develop a solution. Implement the solution. Monitor the results. input
process output
the act of working out the form of something (as by making a sketch or outline or plan); "he
contributed to the design of a new...
Must model each currency. Must do I/O and currency calculations without crashing.
Stephen Wolfram is the creator of Mathematica software. He wrote a book called "A New Kind
of Science" that computer science...
Public, Private and Protected "keywards/ access modifiers" are used similarly as they are with
variables. Protected variables,...
System analysis and design methodologies when building a hospital maintenance system?
Popularity: 38 • Tools: Recategorize • Needs Answer
A place where you store your documents. However, this may have special meaning within
certain contexts/applications.
A hard link is an actual physical entity representing the link. i.e.--data file on a server.A
symbolic link is a pointer to a...
Just about any computer that you can sit on your desk as a self-contained unit is in the class
"microcomputer". This includes...
What programming language is Oracle Enterprise One ERP software written in?
JAVA Most Oracle applications are programmed in Java. And oracle enterprise one is not an
exception it is also programmed in Java.
What experience do they need to have and more importantly what experience do they need
to develop to progress further in their career in the game design area?
Popularity: 36 • Tools: Recategorize • Needs Answer
What is the difference between the based indexed and based indexed with displacement
with a piece of code?
Popularity: 35 • Tools: Recategorize • Needs Answer
What contribution did Ada Byron make to computing?
Ada Lovelace wrote the first computer program ever written. Ada, the Countess of Lovelace,
was the daughter of the poet Lord...
It will change only if you have it set up to do so or you have your time automatically update from
a time server (if you have a...
Closed source: Windows Open source: RedHat for Linux Any linux program you install on your
machine, it's code is available to...
What is a pointer?
AnswerBy analogy, an electronic pointing device such as the TrackPoint used on ThinkPad
notebook computers, and similar devices...
What is the best programming language to start with if you want to learn programming for
the first time also where is a tutorial for it or a book you would recommend that teaches it?
Ok,After you read what i have to say read below here A To me.This is a simple question if you
want to be a web developer HTML...
Disadvantages of computers: Computers can make the mind lazy. You get used to not reading a
book, or researching something at...
What are the different possible approaches to system error correction in compilers?
Popularity: 33 • Tools: Recategorize • Needs Answer
What is the definition of thread?
From NobelPrize.org (see source link under Web Links): Mark Dain was born on December,19th
1994 and he is really cool and he is...
You can send e mail on vista windows mail but can't receive get socket 10060 error
0x800ccc0e?
hdtf I can receive but not send and get the same error message. So how do you fix it?
Why do you think prototyping has become a popular way to develop new computer-based
business systems?
Why do you think prototyping has become a popular way to develop new computer-based
business systems?"
If you have written front ends VB and D2k is it right or they are not front ends?
Popularity: 32 • Tools: Recategorize • Needs Answer
How 'free' works in c language if you want to free a structure whose elements are itself
pointers?
Assuming that the structure you want to free points to OTHER structures that have been
malloc'ed, you need to free any malloc'ed...
Popularity: 32 • Tools: Recategorize
Unix is a classification of operating systems that conform to a certain specification, based on that
of the original Unix...
Typically, there should be a file menu at the top left of your screen where you can access
printing and even see a print preview!...
What is reflection?
Reflection is the change in direction of a wave at an interface which makes it return to the
original medium.this was discovered...
What is the minimum and maximum size of the exponent in a floating point number?
The exponent field for a float data type according to the IEEE-754 Standard is comprised of 8
bits, a whole number range of 0-255.
The data structures are user defined data types specifically created for the manipulation of data in
a predefined manner....
How do you get rid of a 'Right operand of assignment does not have a compatible pointer
type' warning?
Depends on your code. Post it, along with your variable declarations.
When an interrupt occurs for which the process was waiting the OS should start executing the
process. If the process isn't...
How to write your own function for standard library functions strcat strcpy strcmp?
Run through the char array Though i cannot think of a reason do to it (why not use the available
methods in the string.h ?) , it...
disadvantages of computer
The .com suffix stands for Commercial. The distinction has blurred over the recent years;
initially, 3-letter suffixes were used...
Factless fact tables are used for tracking a process or collecting stats. They are called so because,
the fact table does not...
SAP is Simple As Possible Computer. The type of computer is specially designed for the
academic purpose and nothing has to do...
A handle is a reference for the operating system. It does not have the semantics of a
programming reference but what it does do...
An exe is an executible program. A DLL (Dynamic Link Library) is a file that can be loaded and
executed by programs dynamically....
What skills and personalities are computer game developers looking for?
They want people with awesome skills in the computer department! they want people ready to
work 24/7 on new games and the fun...
With pipelining, the CPU begins executing a second instruction before the first instruction is
completed. Pipelining results in...
You need to know how to make it on the computer and you need to know all the graphics and
size of the game. You also need to know...
!@#$%^&*() basically they are any characters that do not contain the value of a number or a
letter. AnswerIt is data...
An array of pointers is that for eg if we have array of 10 int pointers ie int *a[10] then each
element that which is stored in...
Which is the best and most current programming language for writing a GUI web-based
finance software for banks?
"GUI web-based" limits your choices to Java (JSP), ASP.NET and PHP.
What is the difference between artificial neural network and hidden Markov model
methods?
An artificial neural network is a structure which will attempt to find a relationship i.e. a function
between the inputs, and the...
How do you make Basic4GL and or Just Basic use the speaker inside the computer?
Popularity: 28 • Tools: Recategorize • Needs Answer
What does the error message X pager exe entry point not found mean?
Popularity: 28 • Tools: Recategorize • Needs Answer
AnswerBASIC,C,C++ AnswerVBA Basic. There are many versions, but the basics are the
same. BASIC was one of the first...
Why do computers use the binary code instead of the decimal system?
Binary is a set of instructions used to control the computer, and works from 1's and 0's, but the
computer understands them as on...
What is an algorithm?
An algorithm is a sequence of unambiguous instructions for solving a problem, i.e., for obtaining
the required output for any...
The basic way of doing it with pencil and paper. Write down "0." (i.e. "zero point") Start with
n=-1 and your number x If 2^n...
What is c?
If you mean in Einstein's famous equation E=MC2, C is the Constant (i.e. the speed of light)
because the other variable, Mass...
! /usr/bin/env ruby def fac(n) return 1 if n<=1 return n * fac(n-1) end puts fac(gets.to_i)
A batch file is a script type of file that performs DOS based functions. Normally used to facilitate
a large job such as a copy...
You need to purchase the full version of the f-source product in order to get rid of the f-source
button. The trial version does...
set the environment variables CC=gcc export CC then it takes the compiler as gcc
RMI simply offers remote access to an object running in another process. But EJB offers far
more services than RMI. EJB...
How do you solve thr error The Instruction at 0x7c93426d referenced memory at
0x6e656741 The Memory could not be read?
Go to mircosoft web page. and go to there search bar and type in kb. then type in what you just
type in here.
Why do you get error 299 only part of a read process memory or write process memory
request was completed when you try to start the print spooler on your dell computer for a
lexmark printer?
Hello, same problem here, trying to solve it. probably it's a missing file. on this computer the
major problem is a hard drive...
What is a difference between high level language and low level language?
The most basic difference is that the statements in a low level language can be directly mapped
to processor instructions, while...
How many copies of the Common Language Runtime CLR can be executing on a machine?
The CLR is loaded once per process mainly windows process which is the host for all
applications
A geographic information system differs from other computerized information systems in two
major respects. First, the information...
What do you do when a box comes up that says object reference not set to an instance of
object?
in vb.net dim xyz as myclass=new class or dim xyz as new myclass you might have missed the
new key word Think of all...
If the variables in a union use the same address so the previous value will be lost if a new
value is entered how do you get the previous value?
quite a low level view required ......everything stored in memmory is in form of bits (i.e. a
sequence of 01). It dependes upon...
A data structure is the way you define a certain object in a program language. If you define a
data structure for a contact in a...
using recursions: unsigned int Factorial( unsigned int x) { if(x>0) { return ( x *...
What is queue?
A line of people. British English. It can also mean a line of vehicles, for instance. There are 2
other meanings: In...
I'm no tech expert but I think the simple answer is that its because anyone can access it. If
everybody had access to the...
The formal way to do this would be to take 3 courses, those being: Comptia A+ (where you learn
all about computers and how they...
Pseudocode is a statement which is not language specific, Psuedocode is not syntax related,
consider it a plan for the algorithm,...
How do you program fta captive works cw-600s premium with a loptop?
CaptiveWorks CW600s Manual Key Entry for when Autoroll is not working. Step 1: Turn Off
AUTOROLL Go to Menu. Go To System...
CUI stands for Character User Interface,it means that u have to type commands to interact with
ur computer. e.g. - In DOS for...
They are the Data, users/people, procedure, hardware and software. Data is the most important
component of this system which is...
Steps for Programming Cycle try to understand and analyze the problem. write the algorithm or
draw the flow chart for the...
1. Hard disk space is relatively cheap, as low as 13p per GB 2. Hard disks store data without the
need for a constant...
Popularity: 14 • Tools: Recategorize
It is a function with keyword friend. it is a non member function of a class that as the access to
the private and protected...
the main diffs b/n array n structure is .. array is derived data type structure is user-defined data
typr arrays contains set...
If your tv has a DVI input then you can get a DVI cable and connect your computer to your tv.
Also, you can buy a Component...
http://ds4beginners.wordpress.com/2006/10/05/depth-first-search/
What is the difference between the C-class the E-class and the S-class Mercedes Benz cars?
The Mercedes C class is a car that you can use everyday, because its small, powerful with a V6,
and luxury. Varying whether you...
What is the advantage of doubly linked list over linear linked list?
A doubly linked list can be traversed in both directions (forward and backward). A singly linked
list can only be traversed in...
Arrays are collections of repeated data items. Structures are complex data items made up of other
data items, including,...
why C is Middle Level Language C Programming language is called as Middle Level Language
because (i) it gives or behaves as High...
class is defined in c++ my dear so in C there is no structure of class.for c++ class private { int
x[10],y; cout
Can you use the function fprintf to display the output on the screen?
baaaaaaaaaaaaaaal debooooooooo.
its pointer created for high safety that cant be find by anyone.
What is Realloc?
What is a constructor?
A constructor is a special type of function that gets called every time you initialize a class. For
example, say you have this...
In Java, a static function is not attached to a particular object, but rather to the whole class. For
example, say we have the...
void, in C, is a type that has no size. Thus, if you were to declare a variable of type "void", the
compiler would not know how...
How do you print a far pointer value in a C programming environment using small
memory model?
(*p)[23]
One of the big uses for function pointers in C is to call a function defined at run-time. For
example, the C run-time library has...
Yes. There are C compilers for MS-DOS and for Xenix. Santa Cruz Operation OpenServer can
compile programs to run on Xenix. See...
Simply put, a pointer is a memory address. It "points" to data at that address. The Data Type of
the pointer tells the program...
Popularity: 12 • Tools: Recategorize
1. business data processing 2.scientific data processing ako si jayveelim ang data processing
They're related but not totally comparable. A pointer is an address in memory where a variable is
located. An array is a...
How you can interchange two integer values using swap variable in c language?
t = a; a = b; b = t; // t is a third integer variable (swap variable) But here's a way without a swap
variable, given as as a...
Write a c program using dynamic memory allocation function calloc to find sum of two
matrices and also print the resultant matrix?
printf("%s",per>50?:"pass",per<50?:"fail");
http://www.brpreiss.com/books/opus4/programs/pgm16_16.cpp
Popularity: 12 • Tools: Recategorize
A variable varies with certain other quantities such as time or with temperature. A constant
remains fixed with any variation of...
int sumDigits(int n) { int sum = 0; while( n > 0 ) { sum += (n % 10); // add last digit of n to sum
n /= 10; // divide n...
Program to do for cplusplus that needs the else if ladder can you tell you how to do that?
if (bool expression 1) { ... } else if (bool expression 2) { ... } else if (bool expression 3) { ... }
A linear data structure is one in which, while traversing sequentially, we can reach only one
element directly from another. Eg-...
You'll have to get the object code to link in some of the utilities.
definition defines the memory area ( allocates the memory ) for the variable and the declaration
tells about the signature of the...
Popularity: 11 • Tools: Recategorize
I don't see why not. A little archaic though. How about C++ using a Linux distro? I use Ubuntu
and Fedora. They're very similar....
The difference that i learnt very recently and the one i remember :-)Reference cannot be changed
whereas pointer value can be...
What is the maximum combined length of command line arguments including the space
between adjacent arguments?
So for as i know, it depends on the first argument which represents the number of arguments. If
argc is 2 bytes in length, 65535...
The biggest advantage of linked lists is that they can be expanded in constant time without
memory overhead. For example when...
Its similar to typing without insert key ON and OFF str1="strings are good");
memmove(str1+8,str1+11,4); ...
the main difference is that structured programming deals with the flow of execution, and not,
primarily, with the data. The...
Write a program in c language to reverse a three digit integer number without using loops?
Here's an example using a bubble sort. Note that this is not a very efficient sort, but it works weel
enough with small data...
in C you can manipulate the individual bits of a data item. << leftwise shift >> rightwise shift &
bitwise AND...
What is the primary difference between binomial heaps and Fibonacci heaps?
www.algo.epfl.ch/contents/output/sempr/fibonacci_heaps_en.pdf
C language is used for creating computer applications and also used a lot in writing embedded
software/firmware for various...
Algorithm is step wise analysis of the work to be done. Flow chart is a pictorial representation of
an algorithm. As flow chart...
Popularity: 11 • Tools: Recategorize
for loop is called a determinate loop meaning that we usually use it when we know ahead how
many times iterations we want. while...
Code Example: /*
******************************************************************************
MODULE:...
How to write a programme in c to calculate that reads floating point number but displays
only integer?
We can use any method. As we can find out the area of the circle by three methods as i known.
1.ordinary programming e.g. void...
How do you find out the number of arguments passed to a function in PHP?
C doesn't have very easy ways of interrupting blocking functions. One way that would normally
be used on Unix-like operating...
What are the differences between linear data structures and nonlinear data structures?
A data structure is linear if every item is related (or attatched) to its previous and next
item(e.g.array, linked list) and it...
1.Dynamic memory allocation is possible with pointers. 2.passing arrays and structures to
functions 3.passing addresses to...
Basic structure of a C program is /* Documentation section *//* Link section *//* Definition
section *//* Global declaretion...
How to write a program to accept the user name and password and then shop this is your
pasword?
you cant
What is a complier?
A compiler is a program that translates a programming language (like c++, java, pascal, php
etc...) to a language that computers...
Can you use the float as a return type of the main function in 'C' language?
include #include void main() { clrscr(); int r=0,d,m,n; printf("Enter a value:"); scanf("%d",&n);
m=n; do { ...
How do you write a program to create pascal triangle using only one 'for' loop using 'C'?
int factorial (int n) { if (n0?(((n+1)*2)-((ij) { printf("\n"); } } } } int main () { int row,col; int
maxrow; ...
This is a homework assignment, WikiAnswers will not do your homework for you because you
need to do it yourself to learn how to...
With out modifying the main which will print hello and to output world hello world at the
commandprompt in c you need to get theabove outputin three different lines note that
main has only hello?
All three functions output a single character, either to the console or to a FILE. putc() takes a
character argument, and...
is it to check your passportyes its also to do with that to make sure you dont have a fake or
invalid passport but it is also to...
What are the features of object oriented programming over structured programming?
the features of oop are: . Emphasis is on data rather than procedure . Data is Hidden and cannot
be accessed by external...
Both getch() and getche() are used to read single character there is very little difference -getch()
doesn't display output to...
32 bits or 4 bytes.
include <stdio.h> char input[1000]; float temp; /* temporary storage for numbers entered */ int
num_count; /* number to...
Use rand() which returns any random number To be more precise , use random(a) which returns
any number from 0 to a-1 For...
A memory leak occurs when memory is allocated (for example using a malloc() function), and
not released. Often the error is...
What are some examples for core models designed in C for Linux?
Popularity: 9 • Tools: Recategorize • Needs Answer
RBMBS stands for "relational database management systems" A very basic concept is: a system
for collecting pieces of...
Advantages of pointers?
.pointers are generally useful in the context where we need a continuous memory allocation.
Using pointers dynamic allocation of...
You want the code of Discrete fourier transform in C language for your image processing
program using a filter function to enhance the tiff image.?
/* Discrete Fourier Transform and Power Spectrum Calculates Power Spectrum from a Time
Series Copyright 1985 Nicholas B....
getch() takes one char from keyboard but it will be invisible to us. in other words we can say that
it waits until press any key...
What is typecasting?
Casting is used when you want to save a value of one type to a variable which is of a different
type. Below are a couple of...
break - The break statement is used to jump out of loop. After the break statement control passes
to the immediate statement...
Just type declare then the variable that you desire to assigned a certain constant value on it. Just
type declare then the...
C is a high level language which means it is meant for humans to understand not computers. For
a computer to understand a C...
A tree is a data structure that only allows one parent but multiple children. A binary search tree,
however, is a specific case...
If you have a loop in your switch statement or around your switch statement, you can use the
continue statement in that. You...
It isn't just called system programming language, that is its classification. C and C++ (a later
version) are classified as...
Some languages do not support pointers. Use arrays of objects instead start with a
Freelist.Allocate space from Freelist when...
Here is a page that will teach you about strings and pointers.
www.juicystudio.com/tutorial/c/strings.asp Just saying...
"static" in programming and databases means "constant--never changing". So, a static variable
could be the "node name" or...
Does mentioning the array name gives the base address in all the contexts?
Mentioning the array name in C or C++ gives the base address in all contexts except one.
Syntactically, the compiler treats the...
Do you mean what does indenting signify? Writers indent at the start of a new paragraph,
signaling a change in the idea being...
i is gay
Program to reverse ANY given number in C#include <stdio.h> main() { int num,mod,rev=0;
printf("Enter a number:"); ...
Dennis Ritchie "offically" created the C programming language while working at Bell labs.
However, Ken Thompson should also be...
Whats the difference between character and string if only one character is there?
Nothing
Pseudo-code: Made a variable to hold the largest number. Assume the largest number is the first
one. Assign number to variable....
What is variabale?
It is spelled variable, and is simply a placeholder. You can assign a value to a variable, which
points at the memory base of...
Popularity: 7 • Tools: Recategorize
Install Dos BOx in your computer.. open it and write mount c c:\turboc3 if the c folder is
c:\turboc3. now move to c: and simply...
What are the difficulty that the programmer must overcome you writing an operating
system for real time environment?
A real time operating system needs to be "event driven" and have the ability to perform certain
tasks in a very timely manner. ...
Is compiler a software?
Yes it's.
A linked list is a data structure in which each node has a pointer to the next node, and thus the
whole list is linked. Some...
Pure Virtual function are those virtual fn that declare in base class & have no defination relative
to base...
In C, identifiers may contain any alphanumeric characters (a-z, A-Z, 0-9) as well as underscores
(_), but must not begin with a...
JFLAP
double Factorial(int i) { double x = 1; if (i <= 1) return 1; do { x *= i--; } while (i > 0); return
x; }
c program for implement a stack using two queue First push the given elements in stack1... then
pop those elements and push them...
I dont have the idea about the program but I know that prefix means the first starting letters of a
particular things. I really...
there are lots of disadvantages to computers such as spam,hackers,viruses and lots more
Usage of unions?
Protection from the greed and evil of the company. Answer #2: Given that memory is no more at
premium, I really do not see any...
Consider a linked list with n integers Each node of the list is numbered from 1 to n Develop
a program using C language to split this list into 4 lists so that.?
Code example: /*
******************************************************************************
* FUNCTION: cpReverseStr...
same thing at me
How do you draw a circle using C or C plus plus without using the built in function?
There are several options to draw a circle using C or C++ without the built-in functions... <> <>
<> <> ...
How do you represent sparse matrix using one dimensional array Is it possible to
implement in c?
Sparse matirx can be represented 1-dimensionally, by creating a array of structures, that have
members sumc as: Struct RM{int...
Popularity: 6 • Tools: Recategorize
hey! please help me find the advantages and disadvantages of visual basic program language. I'm
struggling with my...
What is c out?
most basicaly if I tell, cout is the printing statement in c++. cout<<"Hello world"; The above
statement will print the...
Popularity: 6 • Tools: Recategorize
Write a program in c programming language that computes the roots of the quadratic
equation ax2 bx c?
Too numerous to list. Some of the most common compilers are COBOL, Fortran, C/C++, VB
(under various names), Java etc. Some,...
There is no general answer to this question. While some languages might be better to solve a
certain problem than others, every...
If you have let's say string1 = "blablabla1" and string2 = "blablabla2". To concatenate 2 strings
you can use simbol +. So,...
Popularity: 6 • Tools: Recategorize
A control unit (which is part of the computer processor) directs the flow of information. Think of
it like a "traffic guard" if...
No, you have to use the operator delete to objects created by new.
dell.com
char* duplicated = strdup("Hello World"); duplicated will now contain the address to
dynamically allocated memory of a C-style...
what are the main applications of double linked list? 1. Applications that have an MRU list (a
linked list of file names) 2. The...
C program to print how many prime numbers are there from 1 to 50?
Here is a simple program to generate prime numbers upto a given specific number
#include<stdio.h> #include<conio.h>...
i have here code to convert decimal to binary number, octal and hexa in C..he re is the code:
include <stdio.h> void...
Popularity: 6 • Tools: Recategorize
If a file header is lost or corrupted and an application needs that header to read the file
how can you recover the contents of the file?
A function takes in values of variable called inputs and gives back values of the variable
called outputs?
No. A function takes in values of no, one, or more input variables, and returns no or one result. It
cannot return more than one...
Firstly, thanks for trying solve this algorithm. I will rewrite the wrong way and debug it in the
next line, and the causes in th...
It's not something like an insurance which you may or may not want... Structures are the way to
handle compound data.
as far as i know u have 4 cases for the node u wanna delete 1.It's a leaf (has no children) 2.It has
only left child 3.it has...
It means that it dosn't have certain value. It's a mistake when you don't initialize your pointers.
Example: uninitialized...
In C, a function prototype is a declaration to the compiler that a certain function exists, without a
full definition. This...
const type, for instance (const double = 1.1; this you cannot change during run)
Hardware Interrupt: Each CPU has External Interrupt lines(about 7). Other external devices line
keyboard, Mouse, Other...
A 'goto' statement immediately moves the execution of code to another part of the program. This
makes the code difficult to...
start input n s = 0 if(n>0) { r=n%10 s=s*10+r n=n/10 } else if(s==n) { print "n is palindrome" }
else print "n...
include <stdio.h> #include <conio.h> void main() { int height, line, i; clrscr(); scanf("%d",
&height); ...
Write a program to print all Armstrong number between 1 and 500 If sum of cubes of each
digit of the number it self then the number is called an Armstrong number?
/*Program to find armstrong number between 1 to N*/ int main() { int n = 0, remainder, sum = 0,
i = 0, noDigits = 0, isArm = 0;...
http://wiki.answers.com/Q/Write_a_recursive_algorithm_to_find_the_gcd_of_two_numbers
GCD algorithm.... GCD(BIG,SMALL) ...
PROGRAM :-/* Runge Kutta for a set of first order differential equations */#include
<stdio.h>#include <math.h>#define...
Q..What is ARR in Hotel business?? what is the formula for calculating it??
In computer science, a hash table, or a hash map, is a data structure that associates keys with
values. The primary operation it...
W S C?
IT STAND FOR
Union allocates the memory equal to the maximum memory requried by the member of the
union but structure allocates the memory...
The most common method of generating a factorial is the recursive method... /* Microsoft 64 bit
recursive */ unsigned long long...
'Min' level . . . the lowest it has been since you started watching it, or the lowest it's expected to
be, or the lowest it's...
What is a CD in header?
A CD in header is the conncetion in where the CD drive is plugged into which then allow the
computer to reconize the drive for it...
Linking is the process of combining various pieces of code and data together to form a single
executable that can be loaded in...
Embedded C is not part of the C language as such. Rather, it is a C language extension that is the
subject of a technical report...
Why is C called a Middle Level Language? Why C is called a Middle Level Language
Data compilation is taking survey or evaluation answers, gathering them into a database, and
analyzing the results for further...
user can create his own data type for handling data that does not fit in one of the existing data
types
Write a program to sort the given names in ascending order using pointers?
Write a program using a while loop to print the numbers 2 to 10 in increments of two. The output
of your program should be 2 4 6...
Because employees work under contract for companies. In fact, it is often the case that
developers wanting to contribute to open...
In most cases you use C++, but for your general question, you use pseudocode.
C code to implement the the first fit bin packing heuristic algorithm?
include <stdio.h> #include <conio.h> //function to print the bins: void printBins(float bins [500]
[500],int items...
DDA Line Drawing Algorithm Step 1:[Determine The Dx & Dy] Dx=Xb-Xa Dy=Yb-Ya Step 2:
[Determine Slope is Gentle or Sharp] If...
What is the difference between the static global and static local variable?
Static global variable has scope only in the file in which it is declared. it can't be accessed in any
other file but its value...
'C' is a programming language that was invented in the early 1970's by Dennis Ritchie. It is a
'compiled' language, meaning that...
Could you write a program in c that reads a string count the numbers of vowels words
wide space present in a string?
Yes, you can, but you have to put codes of all vowels in your program.
The video card in your computer must have a tv out ,composite or s video. standard tv's are
480x640 so it is not good quality
How do you write a C program which runs independent of the compiler No need to install
the compiler?
Any computer program does not need compiler at the time of execution. Compiler is needed to
convert a high-level language...
The best choice would be something that you are interested in or passionate about. Minoring in a
math, hard science, or business...
Sorry to delete the previous version of this program, but this one is much more concise and
sophisticated. I have written this...
Define C tokens?
In a C source program, the basic element recognized by the compiler is the "token." A token is
source-program text that the...
Popularity: 4 • Tools: Recategorize
The "this" keyword is simply a reference to the current object. If, for example, you wanted to add
the object you're currently...
What is the fastest way to compute the factorial of 123456 on a processor of speed 1.4 Ghz
512 mb ram and 40 gb hard disk?
i have solved this problem.....!! i dont know that my Program is fastest than other traditional
algos like prime swing etc. MY...
/*************************************************************************/ /*
POISSON3.C */ /* Calculate poisson statistics...
It took me a while to figiure it out, but the newer versions of the direct sound plugin are skippy,
while it's not perfect try...
Write a program in C programming language to list the nodes of a binary tree in the
following way List the root then nodes at depth 1 followed by nodes at depth 2 and so on?
tell me , how we create a username & password for many users in c language.
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any
specified polygon
File is a place where information or data is stored. we make use of some of the file-handling
funtions in c like:fopen()-for...
How do you write a C program to find the least common multiple of two numbers?
include <stdio.h> #include <stdlib.h> int gcd(int a, int b) { if (a0) return -1; if (b0&&b==0) { ...
Well, it's very simple in console. The code goes here... include<stdio.h> #include<math.h> int
main(){ int ab,...
draw the flowchart to compute the sum of even numbers between 7 and 50
include <iostream> using namespace std; int main () { int a,b; cout<<"Enter two numbers:"; ...
What is the difference between the complete binary tree and the full binary tree?
A full tree is a tree where all nodes except the leaves have the maximum number of children. For
a BST, that would be two...
Popularity: 4 • Tools: Recategorize
Use recursion to reverse the number. You can do that without using loops.
If a five digit number is input through the keyboard write a program to reverse the
number?
I want to make a 3d game but not with program like 3d game maker i want to make the
game with c wheare can i get some good tutorials for game programing with this language
sorry for the bad english?
C is very difficult language for doing complex tasks because it's very low-level. (For the
initiated: high-level languages have...
I'm assuming you're referring to computer programming. A global variable can be accessed by
all functions. It is initialized at...
Popularity: 4 • Tools: Recategorize
4.(Displaying matrix of 0s and 1s ) write a method that displays by n by n matrix using the
following header : Public static...
Write a C program to print the sum of a sparse matrix.(Data Structure) #include#include int...
1996 chevy 350 vortec K1500 will a crane powermax cam work in it without computer
adjustment specs are adv dur int exh duration 260 270 050 dur int exh 204 214 valve lift int
exh 112?
If you put that cam in your engine it will never run as good as it does now. You will have
nothing but problems.
Write a c program to find the largest number in three number using ternary operator?
// assume you want the find the largest of ints a,b,c: int max = (a>b&&a>c?a:b>c?b:c);
c= crap i think they changed the name so that people would think the program is more
proffeessoonnaall. i don't think...
Popularity: 4 • Tools: Recategorize
There are none. Why would you want to cheat There are, such as when your on the part where if
u make a mistake it erases the...
Write a c program to read your name given in the format first name and second name find
the length of the name and also concatenate them?
include<iostream> using std::cin; using std::cout; using std::endl; using std::string; int main()
{ string...
Write a c program to get the number and print the number in words?
write a c programe which reads an integer value from the keyboard then it displays the number in
words?
main(){ int n,i=1; printf("Enter the Number till you want to print even numbers");
scanf("%d",&n); printf("Even Numbers till...
if you mean to make the number negative, assuming the number is positive to start with, you can
assign the number to X and then...
deleting a node <from a list> is nothing but changing the addresses in the previous and next
nodes and establishing a...
How do you code to check whether the input is numeric value or not in C?
I don't know about C but in C++ I would have the compiler do a bool statement for return type
(int, float, long, short, signed...
struct SClass{ int iNumber; int (*fpgetValue)(); int (*fpsetValue)(); }Sc; int m_Func()
{ printf("\n\n Hello How are you...
1. Readability. Just like naming your variables properly can show how you intend to use the
variable, renaming the type can help...
How would you write a program that takes a string of characters and reverses them in the
C programming language?
void main() {char a[30] = "India"; //Let the string be stored in a[30]; char b[30]; //declaring
another string ...
Syntax Errors and Logical Errors Syntax errors -- Errors in spelling and grammar. You can use
the compiler or interpreter to...
Example of enumeration?
a) The LLL is machine oriented and the HLL is problem oriented. b) The LLL is machine
dependent but the HLL isn't. c) The HLL is...
An Interrupt is a signal that goes into a microprocessor that tells it something has happened that
needs attention. There are...
Minimum is h nodes (Maximum is 2h+1 - 1 nodes, if tree consisting of only one node is
considered to have height of 0. If a tree...
to correct my past mistakes in a such easier way that seems interesting for the results to improve
my world.
Printf returned no. of character receive . scanf return no of variable to be inputed according to
format specifier . eg:...
Two
What is the difference between Microsoft Visual Studio 2005 and 2008?
Visual Studio 2008 is having lot of advanced concepts like WPF,WCF,WWF,Linq etc. Entity
Framework also an advanced approach...
-Single pass compiler -Multi pass compiler -Cross compiler -Optimizing compiler
Write a program to arrange given set of number in ascending order using link lists in c
language?
Popularity: 3 • Tools: Recategorize • Needs Answer
Write a program to accept a number and display appropriate month name by using
switch?
DisplayMonth( int month ) //base 0 { switch( month ) { case 0: printf("January\n"); break; case
1: printf("February\n");...
Popularity: 3 • Tools: Recategorize
tree the tree have close path between every edge spanning tree in spanning tree we remov the
loop or repatation
MAR is memory address register. MDR is memory data register. These are registers part of the
control unit (CU) in your cpu.
/**************************/ /**********cReDo**********/
/*****mchinmay@live.com***/ //C PROGRAM TO CONVERT GIVEN...
Keyword identifier in c?
A keyword identifier is one whose meaning has already been declared to the C compiler and we
can't use it as variable,because if...
How do you you delete a node in singly linked list only pointer to that node is given in C?
Ya We can Do that actually. 1. Copy the content of the next node in to the node that has to be
deleted. 2. Assign the next...
Implement a queue using a singly linked list l the operations insert and delete should still
take o1time?
Suppose we have a Queue as follows: E -> D -> C -> B We maintain a head pointer to E and a
tail pointer to B. To add...
Write a program in 'c' programming language to add two polynomials using aaray?
The question is about writing a programme that will accept two polynomial equasions and add
them. As an example: 3x^2 + 2x + 1 ...
its simple just do this swappping for(i=0;i<m;i++) /*A*/ for(j=0;j<i;j++) /*B*/ { x=a[i][j]; a[i]
[j]=a[j][i]; ...
How do you find the greatest of two numbers without using the comparison operators?
void main() { float i,j; int a; printf("Enter two numbers : "); scanf("%f%f",&i&j); a=i/j; if(a)
printf("%f is...
Some activities are: Requirements Gathering Requirements Analysis Design Coding Unit
Testing Integration Testing ...
Write a program in 'C' using while loop to find factorial of a positive integer?
The program goes as follows: include include void main() { int i, j=1; printf("Enter the value of
the integer whose factorial...
Classification of computer according to purpose type of data handled size and capacity?
Write a program in C programming language that will add two integer numbers using
linked list?
Using a linked list makes no sense. Here is a simple code fragment to add two numbers: int a =
5; int b = 10; int c; c = a +...
Technically they're BOTH "data" files, it's just that one is organized in a way that it can be
"executed" by the computer.
Write a C program to convert an upper case word to lower case and vice-versa.?
You would use the ToUpper and ToLower functions. string name = "XVengeance"; string
upperName = name.ToUpper(); string...
C does not stand for any specific abbreviation. C is from CPL (Computer Programming
Language), then BCPL (Basic Computer...
Draw a flow chart to print the product of the first 10 even numbers?
print 3715891200
Kind of an unfair question. Fire is composed of fuel source, an oxidizer, heat, and an ignition
source. The fuels are to numerous...
/*C Program to arrange 7 numbers in ascending order*/ include include void main() { int...
with php you can use INSERT INTO table_name (field1,field2,..) values (data1,data2,..) data1,
data2.. from form.
C is platform dependent?
Yes, there are several platform dependencies in the C language, such as sizeof(int), and the
behavior of arithmetic in overflow...
There are two general comments about pointers 1. Pointers increase the efficiency of our
programs 2. Pointers degrade reliability of C programs due to security issues are use of
pointers beneficial?
"What is the difference between bracketing method and iterative method in solving Algebraic
and Transcendental equations. Name...
signed character means we can use -ve and +ve while insingned includes only +ve. singned
character range is -128 to...
How we can addition Two Matrix plz send coding in C language mahesh dhanotiya
astah_mahesh@rediff.com how i can built a...
very simple way yr: int main() { int o; printf("\n Enter an octal number:"); scanf("%o",&o);
printf("The required decimal...
It shows the limitations when researching. example: You are having a difficult time of finding a
sample. It is somewhat like you...
A very nice solution with multiple methods and code in C/C++ language is at the below link.
http://www.rawkam.com/?p=870
What is the algorithm pseudo code flowchart to find the factorial of the number?
Pseudo code+factorial
The flowchart in deriving the sum of the square root of first N even numbers, You may follow
the steps provided below: Draw the...
include<> int main() { int i,j i=j=0; for (i=0;i<=10;i++) { for (j=0;j<=10;j++) printf("d\n",i,j);
i=i+1; ...
1. One application is to find duplicates in a list of numbers. Let a given list be" 12 34 56 89 33
11 89 the first number in...
IT is actually the Boot Record. To see my source read A+ Guide to Managing and Maintaining
Your PC be Jean Andrews . Another...
Between merge sort quick sort and bubble sort which is the best?
Among those three, you can automatically discard bubble sort as the worst in general cases (it
actually performs quite well when...
C progrma to find recursive sum of digit of given no without using recursive function?
the function will be int sum_num(int num) { int p = 0, y; y = num; while (y != 0) { p = (y % 10)
+ p; y = y/10; } ...
Matrix multiplication using pointers 1. Why use it? Hi, so i've been looking for this answer
myself and because it was not...
Write a C program to evaluate the given polynomial fxa4x4 a3x3 a2x2 a1x a0 for given
value of x and the coefficients using Horners method using single dimension arrays to store
coefficient?
include include int main() { int n,i; float a[30],x,sum; printf("Enter the val ue of \'n\'\n"); ...
Write a program in c to convert a character of string to upper case if it is in lower case and
to lower case if it is in upper case?
Look into the toupper() and tolower() functions. To determine what case it is in, you could use
its ASCII value: uppercase is 65...
Popularity: 3 • Tools: Recategorize
int main() { int p,n,count; float r,si; count=1; while(count<=3) { printf("\n enter values of
p,n,andr");...
/*C program to find the entered number is even of odd*/ include include void main() { int...
'Write a C program to find the sum of odd numbers and even numbers from 1 to n'?
include void main() { int n,i; int addeven=0; int addodd=1; printf("\nEnter a number\n");
scanf("%d",&n); ...
Function Pointers are basically used when we want to select a function which is to be used
dynamically at run time.
include <stdio.h> #include <stdlib.h> #include <string.h> main (int argc,char **argv) { char
*a,*b,c; int...
"http://wiki.answers.com/Q/Explain_different_types_of_constants"
int main (void){ puts ("1 232 34543 232 1");return 0; } int main (void) { puts ("1 232 34543 232
1"); return 0; }
const char* text; // assuming text is pointed at what you want to search through const int
text_length = strlen(text); int...
There are several ways to do this in C: // nums to swap int a = 5; int b = 10; // using a temporary
variable - often the...
Write a c prog to find both largest and smallest number ina list of integers?
Here is a simple way: Iterate through the list, keeping track of the largest and smallest values
seen so far. If the current...
C is a programming language, oops is what you say when you realize you were wrong in
something. Note: Some programming languages...
If you are using the String class to store your names then you can use the < or > operators to
compare the order,...
It is SJF.
Using c change low and upper bytes order in short int value?
include
how to program using hash functions? how to program using hash functions?
wildcard character is a special character that represents one or more other characters. The most
commonly used wildcard...
yes you can but i am trying to find out where you can!!
Give an example of an application in which data in file should accessed in the following
order 1 sequentally 2 Randomly?
reverse (char *p) { char c, *p1, *p2; if (strlen(p) <= 1) return; for (p1=p, p2=p+strlen(p)-1;
p1<p2; c=*p1, *p1=*p2,...
There are two main reasons we analyze an algorithm: correctness and efficiency. By far the most
important reason to analyze an...
we can write a c program for matrix addition and multiplication using two dimensional
array...........
C Answer #include <stdio.h> #include <string.h> #include <stdlib.h> int max=0; int copy(char
*str,int n) {...
The question is about writing a programme that will accept two polynomial equasions and add
them. As an example: 3x^2 + 2x + 1 ...
When Static function can work with static data member only?
Always.
In order to perform an optimal search on a binary tree, it needs to be balanced, where the depth
of all leaves is no more than...
Popularity: 3 • Tools: Recategorize
include <iostream.h> include <conio.h> void main() { long n,s=0,t,d; clrscr(); cout << "Enter a
number...
Yes....Here is the code....include <stdio.h> public int main() { int num1 = 0; int num2 = 0; int
num3; int...
Syntax error can be found during compilation. Runtime error can be found only when you are
trying to execute your program. ...
What is the worst-case time complexity of the following code fragment in terms of n given
int k and an array of appropriate size?
int x = -1; int y = n; int m; while ( (x+1) < y) { m = (x + y) / 2; if (A[m] < k) { x = m; } else { y =
m; } }
Popularity: 3 • Tools: Recategorize
A byte contains 8 bits. So, a byte can store 2^8 differents values, i.e. 256.
include<stdio.h> #include<conio.h> main() { int i,j,n; printf(" Enter the number upto which you
want to find prime...
What functions get executed when you inherit from a class with the same functions name?
In general, the child class's functions will be used in place of the parent.
Hi, In terms of a set of objects, the frist-in-first-out approach consists in that the first object to
have been added to the...
Because java provides a secure platform and use of pointers in any language makes it insecure by
various means. Keep in mind...
Jar files are basically zip files, but they are supposed to store java classes, they have nothing to
do with C.
data type means the type of storage to be used for a perticular variable, such as a char takes 2
bytes of space,integer takes 4...
Popularity: 3 • Tools: Recategorize
No. Programs written for one platform will been to at least be recompiled, if not rewritten, to run
on a different platform.
If your stack grows bottom-up, it's decremented when you leave a function; if the stack grows
top-down, the stack pointer is...
How do you write a c program to shift the entered number by 3 bits left and also 5 bits
right and display the result?
Input and output should be trivial; the core of it is: m = (n<<3)>>5 Note: it is not the same as m
= n>>2
in primitive if any process is in running phase and at the same time if any high priority process
will come then execution will...
For example some BASIC versions accept the following statement, others don't: 10 IF 2*2=4
THEN GOTO 20 ELSE SYNTAX*ERROR
What is the difference between far pointer and huge pointer in C programming language?
Huge pointers are fully recognised and evaluated for their entire width. Far pointers only allow
normal operations to be done to...
C code. This has been tested. Example usage in main(). include include typedef struct node { int
data; struct node *left;...
EXE is the common filename extension denoting an executable file (a program) in the DOS,
OpenVMS, Microsoft Windows, ReactOS, and...
What is getch in c?
what is getch()and their use Function getch waits for a single keypress (without line-buffering
and echoing). In: ncruses.h...
Data sturcture is the tool of various data structures like stack,queue,linked list etc. by using such
data structure we are able...
what is interrpts?
A handle is a particular kind of smart pointer. Handles are used when an application references
blocks of memory or objects...
The integers from 1 to n are stored in an array in random fashion. One of the numbers is
missing. What is an example of a program that will find the missing number?
1. Determine the sum of 1..n = (n(n+1))/2 2. Subtract all the elements in the given array (n-1
elements) from the expected...
How do you convert image file to byte code in asp with example code?
What is top down and bottom down approach in POP and OOPS respectively?
BottomUp Approach In a bottom-up approach the individual base elements of the system are
first specified in great detail. These...
Popularity: 2 • Tools: Recategorize
Is it necessary to include stdioh header file in a C compiler if you use printf function in
your code?
## posted by Pulkit and Puneet from D.Y.Patil college/pune The ans is NO......... bcoz c compiler
already contains the basic...
A variable declared in the header of a method whose initial value is obtained during method
invocation (using the actual...
To write a header file, you need a plain text editor. Word processors won't do. If you are under
windows, use notepad; if you are...
\\ Token Separation \\ Write a program to identify and generate the tokens present in the given
input #include<stdio.h> ...
Could you Write a program for 8086 microprocessor that displays on the monitor the
average of 2 numbers from an array?
not 100% sure if this is what you are asking for but here it goes. you have a number 11110000
(binary) and you want 00001111...
How do you Write a program in c language to calculate the sum of two integers?
include <iostream.h> #include <stdio.h> #include <conio.h> void main() { char a; int firstInt,
secondInt,...
Algorithm: Greatest Common Divisor (GCD/HCF/GCM) of 2 Numbers Input: m,n ; the two
integer values whose gcd needs to be computed...
Assembly language :- ---- The computation in assembly laguage program is less than machine
languge. This program runs faster...
How do you get path of a DLL from inside the DLL itself?
http://www.codeproject.com/KB/DLL/DLLModuleFileName.aspx
What are the differences between a structure in C and structure in C plus plus?
In C, a struct is simply a type that can hold several sub-objects. In C++, struct is almost the same
as "class". It can have...
/**************************/ /**********cReDo**********/
Popularity: 2 • Tools: Recategorize
What could you do if someone hacked into your computer and changed all the computer
files into exe files?
I doubt that somebody has hacked your PC. There is a virus which renames file extensions, by
the way it's a very old virus. I...
Suppose (for simplicity) that n = 2k for some entire k. Let T(n) the time used to sort n elements.
As we can perform separation...
Functions, Classes...
One is download some software and follow the guide to downgrade your psp. It often a difficult
thing for many people. But you can...
interrupt means to stop the execution of some task and save it, start the new task which is caused
by it. interrupt increases...
Unfortunately, there is no power function in C/C++, so you'll have to make one yourself. I made
one a few days ago, here it is: ...
the following is C code, should work well enough. If not, you should get the general idea. int
counter; for (int...
Suppose you are comparing implementations of insertion sort and merge sort on the same
machine For inputs of size n insertion sort runs in 8n2 steps while merge sort runs in 64n lg
n steps For which v?
we can give the delay function to the faster processing sort we can give the delay function to the
faster processing sort
How do you create a Pascal triangle using only one 'for' loop using C?
How to Write a program that would read the marks from a file Save these marks in some
suitable data structure Then sort the marks in descending order and output the result to
file 'sorted markstxt'?
If i is an unsigned char (1 byte unsigned integer) then: i = (i << 4) | (i >> 4); If you know how to
write inline...
a custom written program that acts as our "intranet".This tool has a range of templates, letters
and forms that we use in our...
A priority queue is a type of data structure that allows for elements to be inserted in any order,
and to be retrieved in the...
The question is similar to : What is the Difference between "English" and "Talking in English"
"C" is a Language. "C...
Using the C or similar programming languages how can I find the greatest common
denominator of two integers?
The easiest way to find the greatest common denominator of two integers with a computer
program is to use the Euclidean...
Face Recognition System is an advance biometric identification technique useful for all type of
business and organizations for...
There are a few ways to update your windows media player: Go to www.google.com and type
Download latest windows media player and...
The main advantages of using pointers are 1.) Function cannot return more than one value. But
when the same function can modify...
Both Iteration and Recursion run a part of an algorithm repeatedly. We typically use them when,
in a part of an algorithm, we...
There are basically two uses 1. making new data (which does not exist in c language ) for
example : Boolean typedef enum...
Write a program to find the length of a string without using strlen function in c?
char* cString = "Hello World!"; int length; for (length = 0; cString[length]; ++length); //length
now holds the length of...
Which data structure would you most likely see in a nonrecursive implementation of a
recursive algorithm?
Probably, you would see a stack. A recursive algorithm works by calling itself, each time with
different data. So, to simulate...
The memory of a computer is linear and not a matrix like a 2D array. So, the elements of the
array are stored either by row,...
What are three main catergories of form factor used for motherboard?
See the related links posted below. It is a good example of calculating the Least Common
Multiplier.
A priority queue is a collection of elements that each element has been assigned a priority and
such that order in which elements...
How do you use C code in Asp.Net using CSharp. I have code written in C and I want to
use it in my ASP.NET application written in CSharp. What are the ways of converting
importing using that code?
tretwre
/*to find the area of a circle*/ #include<stdio.h> include<conio.h> main() { int r; float a; print f
("Enter r...
Write a c program using system calls which accepts a filename as parameterthe program
should be designed in such a way that only one session should be permitted to read the date
at any point of time?
Harry S. Truman
There are four types of storage classes in c. It defines the scope and lifetime of a variable or
function. 1. auto - This is the...
What steps are required form an algorithm to convert a binary number to it's decimal
equivalent?
Let's look at an example. If you want to convert the number 100112 to decimal you can split up
the number so each digit has an...
Formal parameters are the parameters as they are known in the function definition. Actual
parameters (also known as arguments)...
The keyword "static" in C has a slightly complicated meaning, depending on where it is used. It
generally denotes static storage,...
COM is an acronym for Component Object Model. Since it's an acronym, there's really no point
in abbreviating it any further.
You can use the binury operator % for this purpose, for instance, int even_or_not; cout << "Enter
a number :"; cin...
What is putchar?
putchar used to write one character to output device Example putchar (variable_name);
include<stdio.h> void main() { ...
Write a program to plot line whose slope is 0 and 45 degree using slope intercept form?
What is the difference between post and pre increment unary operators in c with example?
They both increment the variable. But the value returned by the pre-increment operator is the
value of the variable after it has...
One bit is how much characters or one character is how much bit?
Advantages of Database 1.Getting more information from the same amount of data. 2.Share data.
3.Balancing confliction...
Boot frozen means that whenever a PC restarts, it will be reverted to a pre-defined state. In other
words, if you start you start...
stack
It is not clear what "multiple inheritance" means but ambiguities in wills are resolved in court on
an action to construe the...
Array in most programming langauges like C ,C++, Java etc is a static , homogeneous and linear
data structure. A data structure...
To solve this you need to remember that chars in C are represented as ints. Because of this
property, you can use int comparison...
Suggest the data type that can be used for initializing alphanumeric elements in a c
programmed array .Also tell you the compiler that can understand the data type.?
Data Type : - It is used to identify the type of data. 'C' Language has a large no of data type, Thus
it is also known by rich...
C++ does.
If you own your onw business yuo can make your own hours. Therefore you can spend time with
the family more. The knowledge you...
the standard C types, such as char, short, int, long, size_t, valist... and many others.
7
Popularity: 2 • Tools: Recategorize
If you see the word "heap" in the context of C/C++ programming, it is probably referring to one
of two ideas. First, if it is...
key words are the specfic command of the programe like variable name, syntax, name of loops.
Write a program in c language to draw a diamond shaped if you give the number?
include include void main() { int a,b,c,i,j,k,n; clrscr(); printf("enter the value of n\n");
scanf("%d",&n); //for the...
What is the difference between relational database and non relational database?
The main difference is that the relational database uses one instance only for every given entry.
A 'flat file' system keeps...
You have to just write there exit keyword.And if you have maxize screen of dos then u have to
press alt+enter. Pooja
1. Create the source into a file with any text editor, for example: myprog.c 2. Compile it: gcc
-Wall -W -pedantic -g -o myprog...