CME ROCKS
<<< TSECET APPLY >>> <<< APECET APPLY >>> <<< TSEAMCET APPLY >>> <<< TSPSC 1 TIME REGISTRATION HERE >>> <<< TSPSC RESULTS >>>

Sunday, 22 February 2015

Windows 8 Shortcut keys

Windows 8 Shortcut keys

1. Getting around Windows 8 Start Screen and Desktop
Win Toggle between Desktop and Start Screen (or open Apps)
Ctrl+Tab On Start Screen: Switch Between Start Window and All Apps Window
Win, then Ctrl+Tab Open All Apps Window
Win, then start typing App Name Search and execute Apps
Escape Close Start Screen and go to Desktop
Win+E Run Explorer on Desktop
Win+R Execute Run on Desktop
Win+X Open Power User Commands on Desktop
Alt+F4 Shutdown Windows
Win+L Lock Computer
Win+F1 Open Windows Help

minus2. Windows 8 Charme Shortcuts
Tip: Pressing Escape typically closes most Charme menus.
Win+C Open Windows Charme. Use arrow keys and enter to select item. Press
Win+Q Search Charme / last search option
Win+F Search Files
Win+W Search Windows Settings
Win+I Open Settings including Desktop, Control Panel, Personalization, PC Info, Help
Win+H Share Charme
Win+K Device Charme
Win+S Search Settings
Win+F Search Files
Win+Z Show Options / App Bar in current Metro Apps if available.

minus3. Switch between Apps and Windows
Alt+Tab and Alt+Shift+Tab Cycle between all Windows and Apps. Press and hold Alt key before pressing Tab. Release Tab on Window/App you want to open. While tabbing, add Shift to key combination to go backwards.
Ctrl+Alt+Tab then Arrow Keys Cycle between open Apps without having to keep Alt pressed. Press keys once, then use Arrow keys and Enter to select Window/App.
Win+Tab and Win+Shift+Tab Same as Alt+Tab, but only includes Apps only, not Windows on Desktop
Ctrl+Win+Tab, then Arrow keys Same as Ctrl+Alt+Tab, but only includes Apps, not Desktop Windows

minus4. Power User Commands Shortcuts
These are also listed in the Power User Command Window. Sorted by their (subjective) importance.
Win+X, P Control Panel
Win+X, T Task Manager
Win+X, E File Explorer (alternative: Win+e)
Win+X, R Run (alternative: Win+r)
Win+X, D Desktop (alternative: Win+d)
Win+X, F Programs and Features
Win+X, C Command Prompt
Win+X, A Elevated Command Prompt (Admin)
Win+X, Y System Information
Win+X, M Device Manager
Win+X, G Computer Management
Win+X, B Mobility Center
Win+X, O Power Options
Win+X, V Event Viewer
Win+X, K Disk Management
Win+X, S Search
minus5. Managing Windows 8 Desktop Windows
Win Go to desktop / switch between Desktop and Start Screen or Apps
Win+Arrow Up Maximize Window across screen
Win+Arrow Down Minimize Window (if Restored) or set Window to Restored (if Maximized)
Win+Shift+Arrow Up Maximixe Window vertically
Win+Arrow Right/Arrow Left Move Window to left/center/right. Works across multiple monitors
Win+Shift+Arrow Right/ Arrow Left" Move window to left monitor / to right monitor when using multiple monitors
Alt+Space Opens the title bar menu
F11 Turn full page view on or off
Alt+Q Close Window

minus6. Windows 8 Taskbar
Win+T Go to first item in Taskbar, continue with arrow keys
Win+B Go to first item in System Tray
Shift+click on a taskbar item Start new instance of Taskbar item
Ctrl+Shift+click on a taskbar item Start new instance of Taskbar item as administrator
Shift+right-click on a taskbar item Show the window menu for the program
Win+1...9 Switch to application in position N on Taskbar (or launch pinned application)
Shift+Win+1...9 Start new instance of taskbar item in position N on Taskbar
Unfortunately, Microsoft removed the possibility to select multiple taskbar items in Windows 7 (and did still not re-introduce in Windows 8)

minus7. Navigating Desktop
Arrow Keys Navigate between and select single icons on desktop (when focus is on the desktop)
Home/End Select first / select last object on desktop
Enter Launch active object
Shift+F10 Activate context menu of active icon by simulates right mouse button. Once in the context menu use arrow keys, a-z and enter to select item
Tab, Shift+Tab on empty desktop Navigate between desktop, the quick-launch bar, task bar and notification bar. Then use arrow keys and enter or space to activate specific icons
A, B, C, ... Pressing the initial letter of the name of any objects will highlight the respective application or folder. Continue typing the object name if multiple objects start with the same letter

minus8. Windows Explorer
minusBasics
Win+E Start Windows Explorer
Alt+Arrow Up Go up one folder
Alt+Arrow Left/ Alt+Arrow Right Go to previous folder / go to next folder
Tab/Shift+Tab Switch focus forward/ backward between Address bar, Search Bar, Toolbar, Navigation Pane, and File List (Default is usually File List)
Alt+D or F4 Jump to the Address bar and select absolute address. Copy address with ctrl+c if desired
Ctrl+E or Ctrl+F Jump to Search Box in Explorer
Ctrl+N Open new instance of Windows Explorer
F11 Toggle full-screen mode
minusNavigate File List and Navigation Pane
Arrow Keys Navigate between files and folders
Enter Open folder or start application
Home/End Jump to first / jump to last item
F2 Change the file name of active item
F2, then Arrow Left/ Arrow Right Move one character to the left / to the right in item name
F2, then Ctrl+ Arrow Left/Arrow Right Jump one word to the left / to the right of item name
F2, then Home /End Jump to beginning / jump to end of item name
F2, then Ctrl+A Select all/ complete object name including suffix (default excludes suffix)
Arrow Left/Arrow Right Expand folder / collapse folder (navigation pane only)
minusFile List Views
Alt+P Display or hide Preview Pane
Alt+V then D View details. Check View menu for more options
Alt+V then X View extra-large icons. Check View menu for more options
Ctrl+mouse scroll wheel Change size of icons
minusSelect Items in File List and Navigation Pane
Shift+Arrow Up/ Arrow Down Select multiple adjacent items (directly above or below)
Ctrl with Arrow keys and Space Select multiple non-adjacent items. Hold ctrl, use arrow keys to move to next item, and press space to add/remove from selection
Ctrl+A Select all
A ...Z and 1..9 Press the initial letter any item to jump to it. Continue typing the full name if multiple items start with the same letter
minusManage Items in Explorer
Ctrl+C, ctrl+X, ctrl+V Copy, Cut, Paste
Ctrl+Z Undo an action
Ctrl+Y Redo an action
Delete Delete an item and place it into the Recycle Bin
Shift+Delete Delete an item permanently without placing it into the Recycle Bin
Shift+F10 Activate context menu of active object. Replaces the right mouse button. Once in the context menu use arrow keys, a-z and enter to get to the selection
Ctrl+Shift+N Create new folder
Alt+Enter Open Properties dialog box
▲ up

minus9. The Rest
Win+U Open Ease of Access Center
Win+P Projector or second screen settings.
Alt+Shift Change keyboard language layout if multiple language layouts are active*

                                                THANK YOU
RUN COMMANDS.......

Purpose



RUN Comand
Open Documents Folder documents
Open Videos folder videos
Open Downloads Folder downloads
Open Favorites Folder favorites
Open Recent Folder recent
Open Recent Folder logoff
Open Pictures Folder pictures
Windows Sideshow control.exe /name Microsoft.WindowsSideshow
Windows CardSpace control.exe /name Microsoft.cardspace
Windows Anytime Upgrade WindowsAnytimeUpgradeui
Taskbar and Start Menu control.exe /name Microsoft.TaskbarandStartMenu
Troubleshooting control.exe /name Microsoft.Troubleshooting
User Accounts control.exe /name Microsoft.UserAccounts
Adding a new Device devicepairingwizard
Add Hardware Wizard hdwwiz
Advanced User Accounts netplwiz
Advanced User Accounts azman.msc
Backup and Restore sdclt
Bluetooth File Transfer fsquirt
Calculator calc
Certificates certmgr.msc
Change Computer Performance Settings systempropertiesperformance
Change Data Execution Prevention Settings systempropertiesdataexecutionprevention
Change Data Execution Prevention Settings printui
Character Map charmap
ClearType Tuner cttune
Color Management colorcpl
Command Prompt cmd
Component Services comexp.msc
Component Services dcomcnfg
Computer Management compmgmt.msc
Computer Management compmgmtlauncher
Connessione proiettore di rete netproj
Connect to a Projector displayswitch
Control Panel control
Create A Shared Folder Wizard shrpubw
Create a System Repair Disc recdisc
Credential Backup and Restore Wizard credwiz
Data Execution Prevention systempropertiesdataexecutionprevention
Date and Time timedate.cpl
Default Location locationnotifications
Device Manager devmgmt.msc
Device Manager hdwwiz.cpl
Device Pairing Wizard devicepairingwizard
Diagnostics Troubleshooting Wizard msdt
Digitizer Calibration Tool tabcal
DirectX Diagnostic Tool dxdiag
Disk Cleanup cleanmgr
Disk Defragmenter dfrgui
Disk Management diskmgmt.msc
Display dpiscaling
Display Color Calibration dccw
Display Switch displayswitch
DPAPI Key Migration Wizard dpapimig
Driver Verifier Manager verifier
Ease of Access Center utilman
EFS Wizard rekeywiz
Event Viewer eventvwr.msc
Fax Cover Page Editor fxscover
File Signature Verification sigverif
Font Viewer fontview
Game Controllers joy.cpl
Getting Started gettingstarted
IExpress Wizard iexpress
Getting Started irprops.cpl
Install or Uninstall Display Languages lusrmgr
Internet Explorer iexplore
Internet Options inetcpl.cpl
iSCSI Initiator Configuration Tool iscsicpl
Language Pack Installer lpksetup
Local Group Policy Editor gpedit.msc
Local Security Policy secpol.msc
Local Users and Groups lusrmgr.msc
Location Activity locationnotifications
Magnifier magnify
Malicious Software Removal Tool mrt
Manage Your File Encryption Certificates rekeywiz
Math Input Panel mip
Microsoft Management Console mmc
Microsoft Support Diagnostic Tool msdt
Mouse main.cpl
NAP Client Configuration napclcfg.msc
Narrator narrator
Network Connections ncpa.cpl
New Scan Wizard wiaacmgr
Notepad notepad
ODBC Data Source Administrator odbcad32
ODBC Driver Configuration odbcconf
On-Screen Keyboard osk
Paint mspaint
Pen and Touch tabletpc.cpl
People Near Me collab.cpl
Performance Monitor perfmon.msc
Performance Options systempropertiesperformance
Phone and Modem telephon.cpl
Phone Dialer dialer
Power Options powercfg.cpl
Presentation Settings presentationsettings
Print Management printmanagement.msc
Printer Migration printbrmui
Printer User Interface printui
Private Character Editor eudcedit
Problem Steps Recorder psr
Programs and Features appwiz.cpl
Protected Content Migration dpapimig
Region and Language intl.cpl
Registry Editor regedit
Registry Editor 32 regedt32
Remote Access Phonebook rasphone
Remote Desktop Connection mstsc
Resource Monitor resmon
Resultant Set of Policy rsop.msc
SAM Lock Tool syskey
Screen Resolution desk.cpl
Securing the Windows Account Database syskey
Services services.msc
Set Program Access and Computer Defaults computerdefaults
Share Creation Wizard shrpubw
Shared Folders fsmgmt.msc
Snipping Tool snippingtool
Sound mmsys.cpl
Sound recorder soundrecorder
SQL Server Client Network Utility cliconfg
Sticky Notes stikynot
Stored User Names and Passwords credwiz
Sync Center mobsync
System Configuration msconfig
System Configuration Editor sysedit
System Information msinfo32
System Properties sysdm.cpl
System Properties (Advanced Tab) systempropertiesadvanced
System Properties (Computer Name Tab) systempropertiescomputername
System Properties (Hardware Tab) systempropertieshardware
System Properties (Remote Tab) systempropertiesremote
System Properties (System Protection Tab) systempropertiesprotection
System Restore rstrui
Task Manager taskmgr
Task Scheduler taskschd.msc
Trusted Platform Module (TPM) Management tpm.msc
User Account Control Settings useraccountcontrolsettings
Utility Manager utilman
Version Reporter Applet winver
Volume Mixer sndvol
Windows Action Center wscui.cpl
Windows Activation Client slui
Windows Anytime Upgrade Results windowsanytimeupgraderesults
Windows CardSpace infocardcpl.cpl
Windows Disc Image Burning Tool isoburn
Windows DVD Maker dvdmaker
Windows Easy Transfer migwiz
Windows Explorer explorer
Windows Fax and Scan wfs
Windows Features optionalfeatures
Windows Firewall firewall.cpl
Windows Firewall with Advanced Security wf.msc
Windows Journal journal
Windows Media Player wmplayer
Windows Memory Diagnostic Scheduler mdsched
Windows Mobility Center mblctr
Windows Picture Acquisition Wizard wiaacmgr
Windows PowerShell powershell
Windows PowerShell ISE powershell_ise
Windows Remote Assistance msra
Windows Repair Disc recdisc
Windows Script Host wscript
Windows Update wuapp
Windows Update Standalone Installer wusa
Versione Windows winver
WMI Management wmimgmt.msc
WordPad write
XPS Viewer xpsrchvw
======>RAMESH KOMAKULA....
Follow Us On Facebook :Facebook/Young Engineers

Thursday, 19 February 2015

National Engineering Challenge-2015

National Engineering Challenge-2015

ECET - 2012 Computer Science and Engineering Question Paper

click to download

ECET - 2012 Computer Science and Engineering Question Paper

ECET - 2013 Question paper with key (Mathematics, Physics, Chemistry)

Click to download

ECET - 2013 Question paper with key (Mathematics, Physics, Chemistry)

SET-2014 (AP & TS) Paper III: Telugu Question Paper

Click to download below paper

SET-2014 (AP & TS) Paper III: Telugu Question Paper

SET-2014 (AP & TS) Paper III: Mathematical Science Question Paper

Click to download below paper

SET-2014 (AP & TS) Paper III: Mathematical Science Question Paper

SET-2014 (AP & TS) Paper III: Life Science Question Paper

Click to download below paper

SET-2014 (AP & TS) Paper III: Life Science Question Paper

SET-2014 (AP & TS) Paper III: Chemical Sciences Question Paper

click to download below paper

SET-2014 (AP & TS) Paper III: Chemical Sciences Question Paper

SET-2014 (AP & TS) Paper II: Psychology Question Paper with key

Click to download below paper

SET-2014 (AP & TS) Paper II: Psychology Question Paper with key

SET-2014 (AP & TS) Paper III: Computer Science and Applications Question Paper

Click to download bel;ow paper

SET-2014 (AP & TS) Paper III: Computer Science and Applications Question Paper

SET-2014 (AP & TS) Paper III: Psychology Question Paper with key

World Top Web Sites



  • Enables users to search the world's information, including webpages, images, and videos. Offers... More

  • A social utility that connects people, to keep up with friends, upload photos, share links and ... More

  • YouTube is a way to get your videos to the people who matter to you. Upload, tag and share your... More

  • The leading Chinese language search engine, provides "simple and reliable" search exp... More

  • A major internet portal and service provider offering search results, customizable content, cha... More

  • A free encyclopedia built collaboratively using wiki software. (Creative Commons Attribution-Sh... More

  • Amazon.com seeks to be Earth's most customer-centric company, where customers can find and disc... More

  • Social networking and microblogging service utilising instant messaging, SMS or a web interface.

  • Launched in May 2003, Taobao Marketplace (www.taobao.com) is the online shopping destination of... More

  • China's largest and most used Internet service portal owned by Tencent, Inc founded in Nov... More

  • Indian version of this popular search engine. Search the whole web or only webpages from India.... More

  • Search engine from Microsoft.

  • A networking tool to find connections to recommended job candidates, industry experts and busin... More

  • 包括即日的国内外不同类型的新闻与评论,人物专题,图库。

  • 新浪微博是全中国最主流,最具人气,当前最火爆的微博产品。用一句话随意记录生活,用手机随时随地发微博,迅速获取最热最火最快最酷最新的资讯。... More

  • Japanese version of popular portal site.

  • Launched in April 2008, Tmall.com (www.tmall.com) is dedicated to providing a premium shopping ... More

  • 多言語対応サーチエンジンの日本版。ウェブ、イメージおよびニュース検索、Usenet掲示板。... More


  • International person to person auction site, with products sorted into categories.

  • Suche im gesamten Web, in deutschsprachigen sowie in deutschen Sites. Zusätzlich kann gezielt n... More

  • Поиск информации в интернете с учетом русской морфологии, возможность регионального уточнения. ... More

  • Baidu

  • Search engine developed by Microsoft. Features web, image, video, local, news, and product search.



`TOP INDIAN WEB SITES 2015

This summary is not available. Please click here to view the post.

TELUGU TOP WEB SITES




  • Telugu daily featuring local news, politics, entertainment and sport.

  • YSR, Jagan's online telugu vaartha dina patrika .

  • Online News covering Andhra Pradesh, Telugu news, Andhra news, Political news, Film news, Featu... More

  • Website devoted to Telugu cinema and music.

  • Namasthe Telangaana - Top Telugu Newspaper in Telangana Region. Telangana News, Culture, Events... More

  • Provides links for Andhra Pradesh Political Analysis, Telugu Movie Reviews, Telugu Movie Rating... More

  • Complete Telugu Movie or cinema website

  • ap7am.com is an interactive ' News' portal developed with a view of making it the Home page to ... More

  • Teluguone is a portal serving NRIs since 2001. It provides latest Telugu news, Andhra politics,... More

  • Telugu Non Stop Infotainment ADDA-Instant Telugu Youtube Videos,Free Telugu Live Channels With ... More

  • A complete source for Telugucinema

  • tollywood news, reviews, gossips, andhrapradesh political news, telugu ruchulu...

  • Rajakeeya vishesahlu, charchalu, rachanalu, sampradimpulu, modalagunavi.

  • Andhra Pradesh Rajakeeyalu, Cinemalu mariyu Patalaku sambhandinchina Telugu Vaarthalu.

  • Telugu daily featuring news, politics, sports and entertainment.

  • Information on the body that runs these temples, information about how to get there, places to ... More

  • News from Andhra Pradesh, Breaking News, News Features, Cinema News, Reviews, NRI News, Photo G... More

  • తెలుగు సినిమా వార్తలు, టాలీవుడ్ రూమర్లు , ఫోటో గాలరీ, సినిమా రివ్యూలు.... More

  • Your Online Source for free Vedic Astrology, Numerology, Rashiphal, Panchanga, Astro reports, P... More

  • TeluguNow.com, A Complete Telugu website for millions of Telugu people around the world.

  • andhrabulletin.com providing about andhrapradesh information in telugu like andhrapradesh infor... More

  • తనికెళ్ల భరణి , మల్లాది వెంకట కృష్ణ మూర్తి, మధు బాబు, త్రిపుర మొదలగు వారు రచించిన తెలుగు పుస్తక... More

  • Online Telugu Newspaper సూర్య ఆన్ లైన్ తెలుగు దిన పత్రిక... More

  • Rajakeeyam, Cinema, NRI,Vyaparam mareyu Prapancha vaarthalu telugu lo.

  • Cinemalu, Videolu mariyu varthalu.

Wednesday, 11 February 2015

C Interview/viva Questions

               C Interview/viva Questions.....   

 1
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int i;
    for(i=0;i<5;i++){
         int i=10;
         printf(" %d",i);
         i++;
    }
    return 0;
}
(A)
10 11 12 13 14

Correct
10 10 10 10 10

(C)
0 1 2 3 4

Wrong
Compilation error

Explanation:

Default storage class of local variable is auto. Scope of auto variables are block in which it has been declared. When program control goes out of the scope auto variables are dead. So variable i which has been declared inside for loop has scope within loop and in each iteration variable i is dead and re-initialized.
Note: If we have declared two variables of same name but different scope then local variable will have higher priority.
2
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    register a,b,x;
    scanf("%d %d",&a,&b);
    x=a+~b;
    printf("%d",x);
    return 0;
}
(A)
0

(B)
It will be difference of a and b

(C)
It will be addition of a and b

Correct
Compilation error

Explanation:

Register variables are stored in CPU. So it has not memory address. Hence it is incorrect to write &a.
3
What will be output if you will execute following c code?
#include<stdio.h>
auto int a=5;
int main(){
    int x;
    x=~a+a&a+a<<a;
    printf("%d",x);
    return 0;
}
(A)
5

Wrong
0

(C)
153

Correct
Compilation error

Explanation:

We cannot declare auto variable outside of any function since it auto variables gets are created (i.e. gets memory) at run time.
4
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    register int a,b;
    int c;
    scanf("%d%d",&a,&b);
    c=~a + ~b + ++a + b++;
    printf(" %d",c);
    return 0;
}
//User input is: 1 2
(A)
-1

(B)
0

(C)
1

Correct
Compilation error


Explanation:

Register variables are stored in CPU. So it has not memory address. Hence it is incorrect to write &a.
5
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int arr[3]={10,20,30};
    int x=0;
    x = ++arr[++x] + ++x + arr[--x];
    printf("%d ",x);
    return 0;
}
(A)
22

(B)
23

Correct
43

(D)
44

Explanation:

In Turbo C 3.0 and 4.5 compilers
Output: 43
Consider on expression:
= ++arr[++x] + ++x + arr[--x] //x = 0 + 1
= ++arr[++x] + ++x + arr[--x] //x = 1 + 1
= ++arr[++x] + ++x + arr[--x] //x = 2 - 1
= ++arr[1] + 1 + arr[1] //x = 1
= ++arr[1] + 1 + arr[1]  //arr[1] = 20+1
= arr[1] + 1 + arr[1] //arr[1] = 21
= 21 + 1 + 21
= 43
In Linux GCC complier
Output: 44
Consider on expression:
= ++arr[++x] + ++x + arr[--x] //x = 0 + 1
= ++arr[1] + ++x + arr[--x] ////x = 1 + 1
= ++arr[++x] + 2 + arr[--x] //x = 2 - 1
= ++arr[1] + 2 + arr[1] //arr[1] = 20+1
= arr[1] + 1 + arr[1] //arr[1] = 21
= 21 + 2 + 21
= 44
6
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int a[]={10,20,30,40};
    int i=3,x;
    x=1*a[--i]+2*a[--i]+3*a[--i];
    printf("%d",x);
    return 0;
}
(A)
30

Correct
60

(C)
90

(D)
Compilation error

Explanation:

In Turbo C 3.0 and 4.5 compilers
Output: 60
Consider on expression:
= 1 * a[--i] + 2 * a[--i] + 3 * a[--i] //i = 3 - 2
= 1 * a[--i] + 2 * a[--i] + 3 * a[--i] //i = 2 - 1
= 1 * a[--i] + 2 * a[--i] + 3 * a[--i] //i = 1 - 1
= 1 * a[0] + 2 * a[0] + 3 * a[0] //i = 0
= 1 * 10 + 2 * 10 + 3 * 10 //a[0] = 10
= 10 + 20 + 30
= 60
In Linux GCC complier
Output: 90
Consider on expression:
= 1 * a[--i] + 2 * a[--i] + 3 * a[--i] //i = 3 - 2
= 1 * a[--i] + 2 * a[--i] + 3 * a[--i] //i = 2 - 1
= 1 * a[1] + 2 * a[1] + 3 * a[--i] //i = 1 - 1
= 1 * a[1] + 2 * a[1] + 3 * a[0]
= 1 * 20 + 2 * 20 + 3 * 10
= 20 + 40 + 30
= 90
7
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    static int a[][2][3]={0,1,2,3,4,5,6,7,8,9,10,11,12};
    int i=-1;
    int d;
    d=a[i++][++i][++i];
    printf("%d",d);
    return 0;
}
(A)
9

Correct
10

(C)
11

(D)
Compilation error

Explanation:

= a[i++][++i][++i] //i = -1 + 1
= a[i++][++i][++i] //i = 0 + 1
= a[1][1][1] //i = 1 + 1
= 10
8
What will be output if you will execute following c code?
#include<stdio.h>
int f(int);
int main(){
    int i=3,val;
    val=sizeof (f(i)+ +f(i=1)+ +f(i-1));
    printf("%d %d",val,i);  
    return 0; 
}
int f(int num){
        return num*5;
}
Correct
2 3

(B)
4 3

(C)
3 2

(D)
Compilation error

Explanation:

Turbo C 3.0 and Turbo C 4.5 compiler:
2 3
Linux GCC complier:
4 3
Any expression inside sizeof operator is never changed the value of the any variable. So value of variable i will remain 3. After the evaluation of expression inside sizeof operator we will get an integer value. So value of variable val will be sizeof int data type.
Note: Size of into in turbo C 3.0 and 4.5 is two byte while Linux gcc complier is four byte
9
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int x,a=3;
    x=+ +a+ + +a+ + +5;
    printf("%d  %d",x,a);
    return 0;
}
(A)
10 3

Correct
11 3

(C)
10 5

(D)
Compilation error

Explanation:

Consider on expression: + +a
Here both + are unary plus operation. So
= + +a+ + +a+ + +5;
= + +3+ + +3+ + 5
= 3+ 3+ 5
= 11
Note: Increment operator ++ cannot have space between two plus symbol.
10
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int num,i=0;
    num=-++i+ ++-i;
    printf("%d",num);
    return 0;
}
(A)
0

(B)
1

(C)
-2

Correct
Compilation error

Explanation:

After operation of any operator on operand it returns constant value. Here we are performing unary minus operator on variable i so it will return a constant value and we can perform ++ operation on constant.  
11
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int num,a=5;
    num=-a--+ +++a;
    printf("%d  %d",num,a);
    return 0;
}
(A)
1 5

(B)
-1 6

(C)
1 6

Correct
0 5

Explanation:

= -a--+ +++a
= -a-- + + ++a
= -a-- + + ++a
= -6 + + 6 //a = 6 -1
= -6 + 6 //a = 5
= 0
12
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int num,a=15;
    num=- - - -a--;
    printf("%d  %d",num,a);
    return 0;
}
Correct
15 14

(B)
14 15

(C)
14 14

(D)
15 15

Explanation:

= - - - -a
= - - - -15 //a = 15 – 1
= 15  //a = 14
13
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int x,a=2;
    x=++a,++a,a++;
    printf("%d  %d",x,a);
    return 0;
}
(A)
5 5

Correct
3 5

(C)
4 5

(D)
5 4

Explanation:

x = ++a, ++a, a++
x = 3, ++a, a++ // a = 2 + 1
x = 3, ++a, a++ // = operator has higher precedence than comma operator
x = 3, ++a, a++ // a = 3 + 1
x = 3, 4, a++ 
x = 3, 4, 4 // a = 4 + 1
x = 3 // a = 5
14
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    int x,i=2;
    x=~-!++i;
    printf("%d",x);
    return 0;
}
(A)
-2

Correct
-1

(C)
0

(D)
1

Explanation:

= ~-!++i
= ~-!3 //i = 2 + 1
= ~-0 //!3 = 0
= ~0 //-0 = 0
= -(0 + 1) //~ is 1's complement operator.
= -1 
15
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    static double *p,*q,*r,*s,t=5.0;
    double **arr[]={&p,&q,&r,&s};
    int i;
    *p=*q=*r=*s=t;
    for(i=0;i<4;i++)
        printf("%.0f  ",**arr[i]);
    return 0;
}
(A)
5 5 5 5 5 

(B)
5 6 7 8 9

(C)
Infinite loop

Correct
Run time error


Explanation:

Turbo C 3.0:
5 5 5 5 5 
Turbo C 4.5 and Linux GCC complier:
Run time error
16
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    float x;
    x=0.35==3.5/10;
    printf("%f",x);
    return 0;
}
Correct
0.000000

(B)
1.000000

(C)
0.350000

(D)
Compilation error

Explanation:

Turbo C 3.0 and Turbo C 4.5 compiler:
Output: 0.000000
3.5/10 is little greater than .35
Linux GCC compilers:
Output: 1.000000

Note: == is logic operator. It returns 1 if both operands are equal otherwise it returns 0.
17
#include<stdio.h>
int main(){
    int arr[]={6,12,18,24};
    int x=0;
    x=arr[1]+(arr[1]=2);
    printf("%d",x);
    return 0;
}
Correct
4
\
(B)
8
(C)
14
(D)
Compilation error

Explanation:

= arr[1] + (arr[1] = 2) //arr[i] = 2
= arr[1] + arr[1]
= 2 + 2
= 4
18
What will be output if you will execute following c code?
#include<stdio.h>
int sq(int);
int main(){
    int a=1,x;
    x=sq(++a)+sq(a++)+sq(a++);
    printf("%d",x);
return 0;
}
int sq(int num){
    return num*num;
}
(A)
15

(B)
16

Correct
17

(D)
18

Explanation:

= sq(++a) + sq(a++) + sq(a++) //a= 1 + 1
= sq(2) + sq(2) + sq(a++) //a = 2 + 1
= sq(2) + sq(2) + sq(3//a = 3 + 1
= 4 + 4 + 9
= 17

Note: Pre-increment fist increment then assign while post increment operator first assign then increment.
19
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    printf("%c",*"abcde");
return 0;
}
(A)
acbcd

(B)
e

Correct
a

(D)
NULL

Explanation:

String constant "abcde" will return memory address of first character of the string constant. *"abcde" will return the first character of string constant.  
20
What will be output if you will execute following c code?
#include<stdio.h>
int main(){
    printf("%d","abcde"-"abcde");
return 0;
}
(A)
0

(B)
-1

(C)
1

Correct
Garbage

Explanation:

Memory address of string constants depends upon operating system.
              ALL THE BEST......